]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
XIO: Add missing fastpath events to OSD 5157/head
authorRaju Kurunkad <raju.kurunkad@sandisk.com>
Tue, 7 Jul 2015 10:43:32 +0000 (16:13 +0530)
committerRaju Kurunkad <raju.kurunkad@sandisk.com>
Tue, 7 Jul 2015 10:43:32 +0000 (16:13 +0530)
Without this incoming fastpath messages will be dropped at OSD due to missing OSD::Session

Signed-off-by: Raju Kurunkad <raju.kurunkad@sandisk.com>
src/msg/xio/XioConnection.cc
src/msg/xio/XioMessenger.cc

index b8b62e24bbc26323b605a555a0732718be79448a..270d8e9a7a1225d47e4fa9f955fc445b7a6bd0fa 100644 (file)
@@ -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);
index 24278e5466fd76fac9874bf44375f28f8422b2b8..5c7aff506fe20d04df52dafcf83c5364274f28f9 100644 (file)
@@ -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;