From: Haomai Wang Date: Thu, 8 Jan 2015 02:35:58 +0000 (+0800) Subject: AsyncConnection: using send_keepalive instead of _send_keepalive_or_ack X-Git-Tag: v0.93~247^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=44a01894d95b341ec5c2d7d8c0d436582a595639;p=ceph.git AsyncConnection: using send_keepalive instead of _send_keepalive_or_ack Signed-off-by: Haomai Wang --- diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index 0e3fb5dda6bb..9c0f4bd2dc22 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -1581,7 +1581,7 @@ int AsyncConnection::handle_connect_msg(ceph_msg_connect &connect, bufferlist &a << " == " << connect.connect_seq << ", sending WAIT" << dendl; assert(peer_addr > async_msgr->get_myaddr()); // make sure our outgoing connection will follow through - existing->_send_keepalive_or_ack(); + existing->send_keepalive(); return _reply_accept(CEPH_MSGR_TAG_WAIT, connect, reply, authorizer_reply); } }