From: Raju Kurunkad Date: Tue, 7 Jul 2015 10:43:32 +0000 (+0530) Subject: XIO: Add missing fastpath events to OSD X-Git-Tag: v9.0.3~79^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5157%2Fhead;p=ceph.git XIO: Add missing fastpath events to OSD Without this incoming fastpath messages will be dropped at OSD due to missing OSD::Session Signed-off-by: Raju Kurunkad --- diff --git a/src/msg/xio/XioConnection.cc b/src/msg/xio/XioConnection.cc index b8b62e24bbc2..270d8e9a7a12 100644 --- a/src/msg/xio/XioConnection.cc +++ b/src/msg/xio/XioConnection.cc @@ -178,6 +178,7 @@ int XioConnection::passive_setup() /* notify hook */ msgr->ms_deliver_handle_accept(this); + msgr->ms_deliver_handle_fast_accept(this); /* try to insert in conns_entity_map */ msgr->try_insert(this); diff --git a/src/msg/xio/XioMessenger.cc b/src/msg/xio/XioMessenger.cc index 24278e5466fd..5c7aff506fe2 100644 --- a/src/msg/xio/XioMessenger.cc +++ b/src/msg/xio/XioMessenger.cc @@ -461,6 +461,7 @@ int XioMessenger::session_event(struct xio_session *session, /* notify hook */ this->ms_deliver_handle_connect(xcon); + this->ms_deliver_handle_fast_connect(xcon); } break;