numam-spdk/lib/nvmf
Jim Harris da9766336e nvmf: delay remove subsystem cb until no qpairs remain
We cannot solely rely on the qpair_ctx->count reaching
0, because qpairs that are in process of being
disconnected will immediately invoke the qpair
disconnect cb.

Instead, we need to wait until the poll group
no longer has any qpairs remaining on the subsystem.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I977747d367d14a4bf60f66a1147b3d75679e5179
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7870
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: <dongx.yi@intel.com>
2021-05-17 09:52:37 +00:00
..
ctrlr_bdev.c nvmf: Support physical block size if exposed by bdev 2021-05-06 07:14:40 +00:00
ctrlr_discovery.c nvmf: remove a bdev_module.h #include 2021-05-11 11:57:01 +00:00
ctrlr.c nvmf: ctrlr_create - fix missing free qpair_mask on error 2021-05-10 11:14:24 +00:00
fc_ls.c nvmf/fc: Handle out of order fused commands. 2021-01-14 16:18:25 +00:00
fc.c nvmf: use SPDK_TRACE_ARG_TYPE #defines 2021-05-07 11:35:38 +00:00
Makefile nvmf: Allow configurable controller ID range 2021-05-12 09:18:48 +00:00
nvmf_fc.h nvmf/fc: Add flag to differentiate LS queue and non LS queue. 2021-01-14 16:18:25 +00:00
nvmf_internal.h nvmf: Allow configurable controller ID range 2021-05-12 09:18:48 +00:00
nvmf_rpc.c nvmf: Allow configurable controller ID range 2021-05-12 09:18:48 +00:00
nvmf.c nvmf: delay remove subsystem cb until no qpairs remain 2021-05-17 09:52:37 +00:00
rdma.c nvmf/rdma: Embed fill_wr_sge into fill_wr_sgl 2021-05-14 10:03:56 +00:00
spdk_nvmf.map nvmf: Allow configurable controller ID range 2021-05-12 09:18:48 +00:00
subsystem.c nvmf: fix heap corruption of Reservation Report command 2021-05-13 10:10:42 +00:00
tcp.c nvmf/tcp: Don't attempt to offload header digest calculations 2021-05-14 10:03:05 +00:00
transport.c nvmf: call transport abort callback when it's not empty 2021-04-13 08:37:57 +00:00
transport.h nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00
vfio_user.c vfio-user: add disable-mappable-bar0 flag 2021-05-07 11:31:20 +00:00