diff options
author | John Spray <john.spray@redhat.com> | 2016-02-17 15:57:17 +0100 |
---|---|---|
committer | John Spray <john.spray@redhat.com> | 2016-03-10 13:11:23 +0100 |
commit | 0ed5eb7a8e31448979c0725aa49fe35ca38a5f29 (patch) | |
tree | 867c1094792ec360a5170864a00532c540ab853d /src/tools/cephfs/JournalTool.h | |
parent | mon: update for multiple filesystems (diff) | |
download | ceph-0ed5eb7a8e31448979c0725aa49fe35ca38a5f29.tar.xz ceph-0ed5eb7a8e31448979c0725aa49fe35ca38a5f29.zip |
tools/cephfs: update for FSMap
Everywhere we used to take a rank, we now
take a role (<fscid:rank>)
Signed-off-by: John Spray <john.spray@redhat.com>
Diffstat (limited to 'src/tools/cephfs/JournalTool.h')
-rw-r--r-- | src/tools/cephfs/JournalTool.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/cephfs/JournalTool.h b/src/tools/cephfs/JournalTool.h index f717859a6f1..f8f90606fd0 100644 --- a/src/tools/cephfs/JournalTool.h +++ b/src/tools/cephfs/JournalTool.h @@ -12,6 +12,7 @@ */ #include "MDSUtility.h" +#include "RoleSelector.h" #include <vector> #include "mds/mdstypes.h" @@ -32,7 +33,10 @@ class JournalScanner; class JournalTool : public MDSUtility { private: - int rank; + MDSRoleSelector role_selector; + // Bit hacky, use this `rank` member to control behaviour of the + // various main_ functions. + mds_rank_t rank; // Entry points int main_journal(std::vector<const char*> &argv); |