Spdk/lib/nvmf
Changpeng Liu 0e4ded5474 nvmf/vfio-user: defer to destroy endpoint until the controller is freed
Users may remove the listener while VM is connected, the endpoint is
associated with Unix Domain socket file, we should destroy the endpoint,
however, the controller maybe still active for now, because nvmf
library will help us to disconnect all queue pairs in asynchronous
way.  Here we use the same way as the NVMf library to destroy the
controller when there is no connected queue pairs.

Fix #2246.

Change-Id: I0775d5294269d848d859968edafc8eaa1d89a32c
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10379
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: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-06-30 13:32:31 -04:00
..
ctrlr_bdev.c nvmf: make zcopy_end void 2022-06-30 13:32:30 -04:00
ctrlr_discovery.c nvmf: add new 'id' to spdk_nvmf_subsystem_listener 2022-06-30 13:32:29 -04:00
ctrlr.c nvmf: add reset/shutdown timeout process 2022-06-30 13:32:31 -04:00
fc_ls.c spelling: lib 2022-06-30 13:32:28 -04:00
fc.c nvmf: Use acceptor_poll_rate value from func args 2022-06-30 13:32:30 -04:00
Makefile nvmf/ctrlr: let transport can set VID SSVID and IEEE values 2022-06-30 13:32:28 -04:00
nvmf_fc.h spelling: lib 2022-06-30 13:32:28 -04:00
nvmf_internal.h nvmf: add reset/shutdown timeout process 2022-06-30 13:32:31 -04:00
nvmf_rpc.c nvmf: zero-copy enable flag in transport opts 2022-06-30 13:32:30 -04:00
nvmf.c traces: add dtrace probes around qpair/controller/subsystem 2022-06-30 13:32:30 -04:00
rdma.c nvmf: Use acceptor_poll_rate value from func args 2022-06-30 13:32:30 -04:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c traces: add dtrace probes around qpair/controller/subsystem 2022-06-30 13:32:30 -04:00
tcp.c nvmf: Use acceptor_poll_rate value from func args 2022-06-30 13:32:30 -04:00
transport.c traces: add dtrace probes around qpair/controller/subsystem 2022-06-30 13:32:30 -04:00
transport.h nvmf: remove accept poller from generic layer 2022-06-30 13:32:29 -04:00
vfio_user.c nvmf/vfio-user: defer to destroy endpoint until the controller is freed 2022-06-30 13:32:31 -04:00