summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs/Dumper.h
diff options
context:
space:
mode:
authordongdong tao <tdd21151186@gmail.com>2017-12-10 08:21:28 +0100
committerdongdong tao <tdd21151186@gmail.com>2018-02-17 08:00:57 +0100
commit63efbd9280c7d0892a3687292803566106c8ce55 (patch)
treee91b805714612ae628d8a4fdd846909ecb26b51e /src/tools/cephfs/Dumper.h
parentMerge PR #19760 into master (diff)
downloadceph-63efbd9280c7d0892a3687292803566106c8ce55.tar.xz
ceph-63efbd9280c7d0892a3687292803566106c8ce55.zip
cephfs-journal-tool: support purge queue
Add option "--journal" to identify the journal type. this patch can fully support mode "journal" and "header" for purge queue. As mode "event" is only specific for "mdlog", "journal" and "header" mode only contain pure "Journaler" operation. Signed-off-by: dongdong tao <tdd21151186@gmail.com>
Diffstat (limited to 'src/tools/cephfs/Dumper.h')
-rw-r--r--src/tools/cephfs/Dumper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/cephfs/Dumper.h b/src/tools/cephfs/Dumper.h
index f95a06290db..aad7b3e10a5 100644
--- a/src/tools/cephfs/Dumper.h
+++ b/src/tools/cephfs/Dumper.h
@@ -36,7 +36,7 @@ public:
Dumper() : ino(-1)
{}
- int init(mds_role_t role_);
+ int init(mds_role_t role_, const std::string &type);
int recover_journal(Journaler *journaler);
int dump(const char *dumpfile);
int undump(const char *dumpfile);