summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs/MDSUtility.cc
diff options
context:
space:
mode:
authorHaomai Wang <haomaiwang@gmail.com>2014-12-06 19:14:46 +0100
committerHaomai Wang <haomaiwang@gmail.com>2014-12-18 14:51:12 +0100
commit001ea293860e43d13d7eb9594f304ba7e1585495 (patch)
tree04afa8f4636291384a229eda8db8927c8c12e0aa /src/tools/cephfs/MDSUtility.cc
parentAsyncConnection: Add loopback connection support (diff)
downloadceph-001ea293860e43d13d7eb9594f304ba7e1585495.tar.xz
ceph-001ea293860e43d13d7eb9594f304ba7e1585495.zip
Messenger: Create an Messenger implementation by name.
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Diffstat (limited to 'src/tools/cephfs/MDSUtility.cc')
-rw-r--r--src/tools/cephfs/MDSUtility.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/cephfs/MDSUtility.cc b/src/tools/cephfs/MDSUtility.cc
index dda91504248..9bace76fa83 100644
--- a/src/tools/cephfs/MDSUtility.cc
+++ b/src/tools/cephfs/MDSUtility.cc
@@ -26,7 +26,7 @@ MDSUtility::MDSUtility() :
waiting_for_mds_map(NULL)
{
monc = new MonClient(g_ceph_context);
- messenger = Messenger::create(g_ceph_context, entity_name_t::CLIENT(), "mds", getpid());
+ messenger = Messenger::create(g_ceph_context, g_ceph_context->_conf->ms_type, entity_name_t::CLIENT(), "mds", getpid());
mdsmap = new MDSMap();
objecter = new Objecter(g_ceph_context, messenger, monc, 0, 0);
}