mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
Merge pull request #13412 from yuyuyu101/wip-rdma-log
msg/async/rdma: add log to show correct destruct queuepair Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
4f94a6e682
@ -961,8 +961,10 @@ void Infiniband::gid_to_wire_gid(const union ibv_gid *gid, char wgid[])
|
||||
|
||||
Infiniband::QueuePair::~QueuePair()
|
||||
{
|
||||
if (qp)
|
||||
if (qp) {
|
||||
ldout(cct, 20) << __func__ << " destroy qp=" << qp << dendl;
|
||||
assert(!ibv_destroy_qp(qp));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -39,6 +39,7 @@ RDMAConnectedSocketImpl::RDMAConnectedSocketImpl(CephContext *cct, Infiniband* i
|
||||
|
||||
RDMAConnectedSocketImpl::~RDMAConnectedSocketImpl()
|
||||
{
|
||||
ldout(cct, 20) << __func__ << " destruct." << dendl;
|
||||
worker->remove_pending_conn(this);
|
||||
dispatcher->erase_qpn(my_msg.qpn);
|
||||
cleanup();
|
||||
|
Loading…
Reference in New Issue
Block a user