]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs: add recover_dentries to journaltool
authorJohn Spray <john.spray@redhat.com>
Wed, 17 Dec 2014 14:06:53 +0000 (14:06 +0000)
committerJohn Spray <john.spray@redhat.com>
Mon, 19 Jan 2015 14:09:34 +0000 (14:09 +0000)
commit36830ebc3ef6c4c4f27bcb80880ca28df894d402
treeb37c073a0da8efebe664c5ee58fc1eaeb07d63d5
parent751e504275df9cfd562f424cd10e51f1d6c85627
tools/cephfs: add recover_dentries to journaltool

This is intended as a comparatively safe recovery
operation, where we compare the versions
of journalled dentries with backing store dentries,
and write into the backing store only when the
existing contents are older than the journal
or invalid.

Fixes: #9883
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/InoTable.cc
src/tools/cephfs/JournalTool.cc
src/tools/cephfs/JournalTool.h