Spdk/lib/nvmf
Changpeng Liu 4b47b6e31c nvmf/vfio-user: avoid recursive lock when disconnecting qpair
When destroying controller, we will disconnect each connected qpair,
and in the spdk_nvmf_qpair_disconnect() call, qpair_fini() will also
try to hold the same lock, so existing vfio-user implementation assume
that qpair_fini() will not be called in the same context.  Patch
https://review.spdk.io/gerrit/c/spdk/spdk/+/8963 remind me that
vfio-user has this issue.  While here, we add one more thread poll
to avoid such issue.

Change-Id: I83b82ddcce3eb54c724291223e794dcb53a08059
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9998
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
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-06-30 13:32:27 -04:00
..
ctrlr_bdev.c lib/nvmf: Set missing fields if OPTPERF is set 2022-06-30 13:32:27 -04:00
ctrlr_discovery.c nvmf: Add discovery filtering rules 2022-06-30 13:32:27 -04:00
ctrlr.c nvmf/ctrlr: check offset parameter for get log page command 2022-06-30 13:32:27 -04:00
fc_ls.c nvmf/fc: Handle out of order fused commands. 2021-01-14 16:18:25 +00:00
fc.c trace: shorten tpoint names 2022-06-30 13:32:27 -04:00
Makefile nvmf/vfio-user: don't set RESERVATION support for vfio-user transport 2021-08-25 07:27:10 +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: only change CSTS RDY and SHN after no connected IO queues 2022-06-30 13:32:27 -04:00
nvmf_rpc.c nvmf: Add discovery filtering rules 2022-06-30 13:32:27 -04:00
nvmf.c nvmf: Add discovery filtering rules 2022-06-30 13:32:27 -04:00
rdma.c trace: move all trace definitions to a separate file 2022-06-30 13:32:26 -04:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c nvmf: stop paused subsystem correctly 2022-06-30 13:32:27 -04:00
tcp.c trace: shorten tpoint names 2022-06-30 13:32:27 -04:00
transport.c nvmf: fix check for buffs num in nvmf_request_get_buffers 2022-06-30 13:32:27 -04:00
transport.h nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00
vfio_user.c nvmf/vfio-user: avoid recursive lock when disconnecting qpair 2022-06-30 13:32:27 -04:00