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/MDSTableServer.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/MDSTableServer.cc')
-rw-r--r-- | src/mds/MDSTableServer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/MDSTableServer.cc b/src/mds/MDSTableServer.cc index 42f42135179..7c91a888e91 100644 --- a/src/mds/MDSTableServer.cc +++ b/src/mds/MDSTableServer.cc @@ -22,7 +22,7 @@ #define dout_subsys ceph_subsys_mds #undef dout_prefix -#define dout_prefix *_dout << "mds." << mds->get_nodeid() << ".tableserver(" << get_mdstable_name(table) << ") " +#define dout_prefix *_dout << "mds." << rank << ".tableserver(" << get_mdstable_name(table) << ") " /* This function DOES put the passed message before returning */ void MDSTableServer::handle_request(MMDSTableRequest *req) |