Spdk/lib/nvmf
Konrad Sztyber 677af66f69 nvmf: abort outstanding zcopy reqs in qpair disconnect
Zero-copy requests are kept on the outstanding queue for the whole
duration of the request - from the initial zcopy_start submission to the
completion of zcopy_end.  This means, that there's a period in which a
request doesn't wait for a completion from the bdev layer, but is still
on the oustanding queue (after zcopy_start callback, before zcopy_end
submit).  If a qpair gets disconnected while a request is in this state,
we need to manually force its completion, as otherwise it might hang
indefinitely (e.g. waiting for host data).

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I53731b8e363b725efa564ca3c7d89b46f5fb2a24
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10793
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
2022-06-30 13:32:30 -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: abort outstanding zcopy reqs in qpair disconnect 2022-06-30 13:32:30 -04:00
fc_ls.c spelling: lib 2022-06-30 13:32:28 -04:00
fc.c nvmf/fc: remove unused variable 2022-06-30 13:32:29 -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: abort outstanding zcopy reqs in qpair disconnect 2022-06-30 13:32:30 -04:00
nvmf_rpc.c nvmf: zero-copy enable flag in transport opts 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/rdma: Move definitions of rxe vendor IDs to common rdma.h 2022-06-30 13:32:29 -04:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c nvmf: support static CNTLID 2022-06-30 13:32:30 -04:00
tcp.c nvmf/tcp: do cleanup in nvmf_tcp_poll_group_add() 2022-06-30 13:32:29 -04:00
transport.c nvmf: zero-copy enable flag in transport opts 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: use static CNTLID 2022-06-30 13:32:30 -04:00