diff options
author | John Spray <john.spray@redhat.com> | 2015-01-16 01:02:00 +0100 |
---|---|---|
committer | John Spray <john.spray@redhat.com> | 2015-01-16 01:45:25 +0100 |
commit | b8ffe5c2dcfc107974b04e394b27011f668a81e9 (patch) | |
tree | aa11e5342571e64667fb6b6103a47b61df249e1e /src/mds/SnapServer.cc | |
parent | mds: abstract SessionMapStore from SessionMap (diff) | |
download | ceph-b8ffe5c2dcfc107974b04e394b27011f668a81e9.tar.xz ceph-b8ffe5c2dcfc107974b04e394b27011f668a81e9.zip |
mds: give MDSTables a `rank` attribute
...so that they (like the new SessionMapStore)
can be used outside of a live MDS in tool code.
Signed-off-by: John Spray <john.spray@redhat.com>
Diffstat (limited to 'src/mds/SnapServer.cc')
-rw-r--r-- | src/mds/SnapServer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/SnapServer.cc b/src/mds/SnapServer.cc index 2e211d9f894..ac0407393ed 100644 --- a/src/mds/SnapServer.cc +++ b/src/mds/SnapServer.cc @@ -29,7 +29,7 @@ #define dout_subsys ceph_subsys_mds #undef dout_prefix -#define dout_prefix *_dout << "mds." << mds->get_nodeid() << ".snap " +#define dout_prefix *_dout << "mds." << rank << ".snap " void SnapServer::reset_state() |