Remove RDMA context FD handlers during msgr destroy
This commit is contained in:
@@ -276,6 +276,7 @@ osd_messenger_t::~osd_messenger_t()
|
|||||||
#ifdef WITH_RDMA
|
#ifdef WITH_RDMA
|
||||||
for (auto rdma_context: rdma_contexts)
|
for (auto rdma_context: rdma_contexts)
|
||||||
{
|
{
|
||||||
|
tfd->set_fd_handler(rdma_context->channel->fd, false, NULL);
|
||||||
delete rdma_context;
|
delete rdma_context;
|
||||||
}
|
}
|
||||||
rdma_contexts.clear();
|
rdma_contexts.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user