]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: improve journaltool reset
authorJohn Spray <john.spray@redhat.com>
Thu, 30 Apr 2015 10:44:04 +0000 (11:44 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 12 May 2015 09:23:27 +0000 (10:23 +0100)
commita4925933d37a720ae81f98392982b32d1b4a20ca
tree238dc857ae2270775ed907f0a85f57a8fdefcad1
parent237f76b6b455bbcfacb9f964643c79a839545e42
tools: improve journaltool reset

Handle the case where no journal objects exist at all,
rather than just resetting a journal that already exists.

Signed-off-by: John Spray <john.spray@redhat.com>
src/tools/cephfs/JournalTool.cc
src/tools/cephfs/JournalTool.h
src/tools/cephfs/Resetter.cc
src/tools/cephfs/Resetter.h