]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/rdma: seperate Device construction if rdma_cm is used
authorChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 13 Jun 2019 10:34:44 +0000 (18:34 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Fri, 23 Aug 2019 02:45:22 +0000 (10:45 +0800)
commit2d4890580f3acdd6387bcdde15f78eba35237589
tree8fccbe0ff5345e73795e362609f1e7f804c600a2
parent0e3db04d045d040382031261bf70973c853bc63e
msg/async/rdma: seperate Device construction if rdma_cm is used

If ms_async_rdma_cm is false, there's no need to call the api
rdma_get_device. If rdma_get_device is called, the devices remain
opened while librdmacm is loaded. This is not what we want when
ms_async_rdma_cm is false.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h