From cbc2a0ff676c07aad1ed363b7ceabe939f45c4f7 Mon Sep 17 00:00:00 2001 From: Raju Kurunkad Date: Tue, 7 Jul 2015 16:13:32 +0530 Subject: [PATCH] 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 --- src/msg/xio/XioConnection.cc | 1 + src/msg/xio/XioMessenger.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/msg/xio/XioConnection.cc b/src/msg/xio/XioConnection.cc index b8b62e24bbc26..270d8e9a7a122 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 24278e5466fd7..5c7aff506fe20 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; -- 2.39.5