numam-spdk/lib
Alexey Marchuk 3d1d4fcf54 nvmf/rdma: Send ibv async event to the correct thread
Since rqpair->qpair.group is set to NULL when we remove the
qpair from poll group, we fail to send event to qpair's thread.
This patch adds a pointer to io_chaneel to spdk_nvmf_rdma_qpair
structure and a function to handle poll_group_remove transport
operation. In this function we get io_channel from nvmf_tgt,
this channel will be used to get a thread for sending
async event notification. This also guarantees that the thread
will be alive while we are destroying qpair.

Change-Id: I1222be9f9004304ba0a90edf6d56d316d014efda
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3475
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com>
Reviewed-by: Seth Howell <seth.howell@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-07-27 17:19:44 +00:00
..
accel lib/accel: remove dead code 2020-07-24 19:38:46 +00:00
bdev bdev: add allowlist to bdev layer 2020-07-07 07:31:22 +00:00
blob blob: Add a bitmask for quickly checking which blobs are open 2020-07-07 07:30:58 +00:00
blobfs lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
conf lib/conf: allow multiple sections with same name 2020-07-22 12:24:08 +00:00
env_dpdk dpdkbuild: build dpdk with meson+ninja 2020-07-24 22:06:11 +00:00
env_ocf lib/ocf_env: fix incorrect value for free memory estimate 2020-04-29 06:42:33 +00:00
event lib/event: enable repeated spdk_app_start/stop 2020-07-24 15:25:57 +00:00
ftl lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
idxd lib/idxd: add batching support for compare command 2020-07-22 23:01:45 +00:00
ioat lib/ioat: Update the major SO version for libspdk_ioat.so 2020-07-24 07:25:47 +00:00
iscsi iscsi: use default MaxRecvDataSegmentLength for login response data length 2020-07-24 09:41:20 +00:00
json lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
jsonrpc lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
log lib/log: add a check for localtime() failure 2020-07-15 07:09:19 +00:00
log_rpc lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
lvol all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
nbd nbd: Make nbd_poll return real busy/idle status 2020-07-08 07:54:38 +00:00
net lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
notify lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
nvme env_dpdk: move NVMe PCI driver definition to the nvme lib 2020-07-24 21:42:26 +00:00
nvmf nvmf/rdma: Send ibv async event to the correct thread 2020-07-27 17:19:44 +00:00
rdma rdma: Add new API spdk_rdma_qp_accept 2020-06-18 07:28:04 +00:00
reduce mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rocksdb RocksDB/BlobFS: add the related RPC module 2020-07-21 09:20:06 +00:00
rpc rpc: don't allow starting RPC server on a TCP port 2020-06-08 09:35:16 +00:00
rte_vhost read_fd_message: distinguish prints of log message 2020-05-25 09:08:00 +00:00
scsi pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
sock sock: Add sock_impl option to disable zero copy on send 2020-07-24 00:30:45 +00:00
thread thread: add info logs 2020-06-12 15:40:31 +00:00
trace mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
ut_mock mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
util lib/util: remove _spdk prefix from functions. 2020-06-01 13:07:30 +00:00
vhost pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
virtio lib/makefile: move vhost_user.c into lib/virtio directory 2020-06-09 07:37:43 +00:00
vmd env_dpdk/pci: remove device detach callback 2020-07-23 20:48:47 +00:00
Makefile rdma: Intorduce RDMA providers 2020-05-20 12:03:50 +00:00