From: Kefu Chai Date: Sun, 3 Feb 2019 11:21:22 +0000 (+0800) Subject: crimson/osd: note down the source from where the message is sent X-Git-Tag: v14.1.0~159^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=212c60326563792f2620321cbf87f5e02f965619;p=ceph.git crimson/osd: note down the source from where the message is sent Signed-off-by: Kefu Chai --- diff --git a/src/crimson/osd/heartbeat.cc b/src/crimson/osd/heartbeat.cc index 8f81cc3e7510..9fee3b91d3f3 100644 --- a/src/crimson/osd/heartbeat.cc +++ b/src/crimson/osd/heartbeat.cc @@ -195,7 +195,8 @@ seastar::future<> Heartbeat::remove_peer(osd_id_t peer) seastar::future<> Heartbeat::ms_dispatch(ceph::net::ConnectionRef conn, MessageRef m) { - logger().info("heartbeat: ms_dispatch {}", *m); + logger().info("heartbeat: ms_dispatch {} from {}", + *m, m->get_source()); switch (m->get_type()) { case CEPH_MSG_PING: return handle_osd_ping(conn, boost::static_pointer_cast(m));