summaryrefslogtreecommitdiffstats
path: root/src/mgr/DaemonServer.cc
diff options
context:
space:
mode:
authorYan Jun <yan.jun8@zte.com.cn>2017-06-24 05:07:21 +0200
committerYan Jun <yan.jun8@zte.com.cn>2017-06-24 08:54:04 +0200
commitb0d75495db829e623fb2cb54254f0748b0f02211 (patch)
tree85972017724ea406b33aa4d7cd5218c5f65bb46f /src/mgr/DaemonServer.cc
parentMerge pull request #15108 from guihecheng/rgw_file-fix (diff)
downloadceph-b0d75495db829e623fb2cb54254f0748b0f02211.tar.xz
ceph-b0d75495db829e623fb2cb54254f0748b0f02211.zip
mgr: remove repeated function log
In the front of this file, '__func__' has been added to dout_prefix as below: " #define dout_prefix *_dout << "mgr.server " << __func__ << " " " Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Diffstat (limited to '')
-rw-r--r--src/mgr/DaemonServer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mgr/DaemonServer.cc b/src/mgr/DaemonServer.cc
index e8d8c8a2128..24556d82614 100644
--- a/src/mgr/DaemonServer.cc
+++ b/src/mgr/DaemonServer.cc
@@ -176,7 +176,7 @@ bool DaemonServer::ms_verify_authorizer(Connection *con,
if (peer_type == CEPH_ENTITY_TYPE_OSD) {
Mutex::Locker l(lock);
s->osd_id = atoi(s->entity_name.get_id().c_str());
- dout(10) << __func__ << " registering osd." << s->osd_id << " session "
+ dout(10) << "registering osd." << s->osd_id << " session "
<< s << " con " << con << dendl;
osd_cons[s->osd_id].insert(con);
}
@@ -214,7 +214,7 @@ bool DaemonServer::ms_handle_reset(Connection *con)
}
session->put(); // SessionRef takes a ref
Mutex::Locker l(lock);
- dout(10) << __func__ << " unregistering osd." << session->osd_id
+ dout(10) << "unregistering osd." << session->osd_id
<< " session " << session << " con " << con << dendl;
osd_cons[session->osd_id].erase(con);
}
@@ -250,10 +250,10 @@ bool DaemonServer::ms_dispatch(Message *m)
void DaemonServer::shutdown()
{
- dout(10) << __func__ << dendl;
+ dout(10) << "begin" << dendl;
msgr->shutdown();
msgr->wait();
- dout(10) << __func__ << " done" << dendl;
+ dout(10) << "done" << dendl;
}