Spdk/test
Shuhei Matsumoto 1d58eb038b nvme_rdma: Release poller from poll group when qpair is actually disconnected
If the being disconnected qpair is the last of a poller of a poll group,
CQ is destroyed and the poller is released before the qpair is actually
disconnected.

This patch destroy CQ and release the poller after the qpair is actually
disconnected.

One exception is when spdk_nvme_ctrlr_free_io_qpair() is called to a
connected qpair. In this case, the qpair is removed from a poll group
before the qpair is actually disconnected. In this case, destroy CQ and
release the poller when the qpair is removed from the poll group.

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: Idf266bbb6dbb40f04ae6313db724fabf80865763
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14253
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2022-09-05 12:49:11 +00:00
..
accel_engine examples/accel/perf: remove support for compress 2022-08-10 07:25:29 +00:00
app llvm: Using typecast for left shift value 2022-08-29 10:50:00 +00:00
bdev json: fix parsing json problems when json config is invalid. 2022-09-02 07:32:21 +00:00
blobfs check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
blobstore autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
common autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
compress autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
cpp_headers Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
dd test/dd: Simple tests utilizing uring RPCs 2021-12-20 08:46:13 +00:00
dma check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
dpdk_memory_utility autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
env env/pci: add detach() callback to pci_device_provider 2022-09-01 08:48:32 +00:00
event check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
external_code check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
ftl FTL: Add restore tests 2022-09-02 17:40:09 +00:00
fuzz autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
interrupt scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
json_config bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
lvol bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
make event: make opts structures packed 2022-08-18 10:08:40 +00:00
nvme hotplug: add new software hotplug test 2022-09-01 11:15:03 +00:00
nvmf autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
ocf autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
openstack run_openstack_test.sh: source authentication file 2022-08-25 07:30:20 +00:00
pmem bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
rpc scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
rpc_client check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: wait for scheduler after thread creation in busy() 2022-06-20 09:56:09 +00:00
setup test/setup: Remove the hp_status() test 2022-08-09 14:38:30 +00:00
sma autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
spdkcli bdev: add additional io types in dump bdev info 2022-08-29 10:51:31 +00:00
thread Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
unit nvme_rdma: Release poller from poll group when qpair is actually disconnected 2022-09-05 12:49:11 +00:00
vfio_user test/vfio-user: enable multiple reactors tests 2022-08-15 19:10:54 +00:00
vhost Revert "test/vhost/initiator: Don't use spdk_tgt to generate json config" 2022-09-01 18:30:56 +00:00
vmd vmd: rename enable_vmd RPC to vmd_enable 2022-09-01 08:48:32 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_cunit.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00