Spdk/test/common
Shuhei Matsumoto cfe11bd1db nvme: Factor out operations done after disconnect qpair completes
This is a preparation to make nvme_transport_ctrlr_disconnect_qpair()
asynchronous.

For nvme_transport_ctrlr_disconnect_qpair(), factor out operations after
returning from transport's specific ctrlr_disconnect_qpair() into a helper
function nvme_transport_ctrlr_disconnect_qpair_done().

Then move nvme_transport_ctrlr_disconnect_qpair_done() into the end of
the transport specific ctrlr_disconnect_qpair().

Additionally remove the operation to overwrite the qpair state to
DISCONNECTED from nvme_transport_connect_qpair_fail() because
this is duplicated and nvme_transport_ctrlr_disconnect_qpair() is responsible
to make the qpair disconnected even after it completes asynchronously.

Change-Id: I9c8faa7039d306d3e31a8f51826755ce8840a8aa
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10851
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2022-03-21 10:49:11 +00:00
..
config pkgdep/git: don't skip nvme-cli installation 2022-02-22 09:01:06 +00:00
lib nvme: Factor out operations done after disconnect qpair completes 2022-03-21 10:49:11 +00:00
applications.sh test/common: Add SPDK_APP wrapper for spdk_tgt 2021-01-07 13:38:26 +00:00
autotest_common.sh test/common: Remove the call to sudo in unit test script when not needed 2022-03-09 08:00:28 +00:00
skipped_build_files.txt test/nvmf: fuzz nvmf target using LLVM's libFuzzer 2021-12-15 04:32:05 +00:00
skipped_tests.txt test/skipped_tests: enable ZNS tests 2022-02-22 09:03:03 +00:00