Spdk/lib/nvmf
Changpeng Liu 534e2e7c04 nvmf: only change CSTS RDY and SHN after no connected IO queues
When doing controller reset and shutdown, we may change the
CSTS.RDY and CSTS.SHN even there are pending IOs in the IO
queues, so here we add a timer in the reset and shutdown
callback, it will change the status when there are no
connected IO queues.

Fix #2199.

Change-Id: I3a54d30b257973661b269ad5e37637490f9390f4
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9908
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-10-27 07:31:15 +00:00
..
ctrlr_bdev.c nvmf: make fused status construction easier to understand 2021-10-18 07:54:57 +00:00
ctrlr_discovery.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
ctrlr.c nvmf: only change CSTS RDY and SHN after no connected IO queues 2021-10-27 07:31:15 +00: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 2021-10-22 18:08:05 +00: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 2021-10-27 07:31:15 +00:00
nvmf_rpc.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
nvmf.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
rdma.c trace: move all trace definitions to a separate file 2021-10-20 07:22:00 +00:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c Revert "nvmf: Update controller desctruction process" 2021-10-25 15:23:28 +00:00
tcp.c trace: shorten tpoint names 2021-10-22 18:08:05 +00:00
transport.c nvmf: add interface to dump transport specific listen opts 2021-09-06 09:53: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 nvmf/vfio-user: fix empty free request issue 2021-10-20 07:38:44 +00:00