Spdk/test/unit/lib/nvmf
Changpeng Liu ac3bc2df58 nvmf: add reset/shutdown timeout process
There is an error case that the block device didn't complete
outstanding IOs during the controller reset or shutdown, so
the NVMf library will wait until all the IOs returned from
the backend, however, so here we added a timeout timer, when
the time expired, we will try to reset the block device which
hold the outstanding IOs.

Fix #2194.

Change-Id: I8d0746335e1f20a09e6a9ea87730551808a898d1
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9909
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: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
2022-06-30 13:32:31 -04:00
..
ctrlr_bdev.c nvmf: return async/complete status in bdev zcopy operations 2022-06-30 13:32:30 -04:00
ctrlr_discovery.c nvmf: update discovery log when removing hostnqn 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 ut/fc : fix fc_ls_ut compilation failure 2022-06-30 13:32:29 -04:00
fc.c nvmf: abort outstanding zcopy reqs in qpair disconnect 2022-06-30 13:32:30 -04:00
nvmf.c nvmf: abort outstanding zcopy reqs in qpair disconnect 2022-06-30 13:32:30 -04:00
rdma.c nvmf: deduplicate transport listen dump opts 2021-09-06 09:53:57 +00:00
subsystem.c nvmf: support static CNTLID 2022-06-30 13:32:30 -04:00
tcp.c nvmf: add reset/shutdown timeout process 2022-06-30 13:32:31 -04:00
transport.c test/nvmf/transport: cases for creating polling group 2022-06-30 13:32:25 -04:00
vfio_user.c UT/vfio-user: fix clang-12 compilation error 2022-06-30 13:32:29 -04:00
Makefile test/nvmf: only build and run transport_ut.c when RDMA is enabled 2021-09-01 07:34:37 +00:00