]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/rdma: fixes crash in fio
authorAlex Mikheev <alexm@mellanox.com>
Mon, 12 Jun 2017 08:32:38 +0000 (08:32 +0000)
committerHaomai Wang <haomai@xsky.com>
Fri, 11 Aug 2017 02:00:01 +0000 (10:00 +0800)
commit6b773887a331eff26faadeba5de7359aaa09efc5
tree490a38aa9c0b2c3ab88f3accb211a42ad447bf42
parent25fce20d6302b3d8389e8c60ba3b8165dac48d34
msg/async/rdma: fixes crash in fio

fio creates multiple CephContext in a single process.
Crash(es) happen because rdma stack has a global resources that
are still used from one ceph context while have already been destroyed
by another context.

The commit removes global instances of RDMA dispatcher and infiniband
and makes them context (rdma stack) specific.

Signed-off-by: Adir Lev <adirl@mellanox.com>
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h
src/msg/async/rdma/RDMAStack.cc
src/msg/async/rdma/RDMAStack.h