Spdk/test/unit/lib/nvme
Shuhei Matsumoto 4b73223542 nvme_rdma: Wait until lingering qpair becomes quiet before completing disconnection
The code to handle the lingering qpair when deleting it was really
complicated.

The RDMA transport can connect or disconnect qpair asynchronously.

Then we can include the code to handle the lingering qpair into the
code to disconnect qpair now.

If the disconnected qpair is still busy, defer completion of the
disconnection until qpair becomes idle.

If poll group is not used, we can complete disconnection immediately
because cq is already destroyed.

The related data and unit test cases are not necessary anymore.
So delete them in this patch.

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: Ic8f81143fcad0714ac9b7db862313aa8094eeefb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11778
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2022-04-18 18:35:29 +00:00
..
nvme_ctrlr_cmd.c nvme: Do not track a separate active namespace list 2022-01-14 08:35:10 +00:00
nvme_ctrlr_ocssd_cmd.c nvme: Do not track a separate active namespace list 2022-01-14 08:35:10 +00:00
nvme_ctrlr.c nvme: Call ctrlr_disconnect_done() after qpair_process_comletions() returns -ENXIO 2022-03-21 10:49:11 +00:00
nvme_cuse.c nvme: Add metadata support to io commands 2022-01-14 11:10:13 +00:00
nvme_fabric.c nvme: allocate extra request for fabrics connect 2022-02-14 15:29:39 +00:00
nvme_io_msg.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns_cmd.c UT/NVMe: Fix compilation warnings 2022-01-19 09:04:27 +00:00
nvme_ns_ocssd_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns.c spelling: test 2021-12-03 08:13:22 +00:00
nvme_opal.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_pcie_common.c nvme: Factor out operations done after disconnect qpair completes 2022-03-21 10:49:11 +00:00
nvme_pcie.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_poll_group.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_qpair.c nvme: guard admin qpair error injection queue 2022-01-19 09:05:36 +00:00
nvme_quirks.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_rdma.c nvme_rdma: Wait until lingering qpair becomes quiet before completing disconnection 2022-04-18 18:35:29 +00:00
nvme_tcp.c lib/sock: provide a hint to picking optimal poll group 2022-04-01 12:41:26 +00:00
nvme_transport.c nvme: Limit spdk_nvme_poll_group_remove() to use only for disconnected qpairs 2022-01-19 08:44:09 +00:00
nvme.c test/nvme: Fix unittest_nvme failure 2022-03-23 09:02:21 +00:00
Makefile test/nvme_opal: build nvme_opal unittest file 2021-06-07 07:24:47 +00:00