Spdk/lib/nvmf
Alexey Marchuk f8cbdf2c81 rdma: release incomplete requests during qpair desctruction
qpair might be deleted with incomplete requests (e.g. when NIC
is removed or when huge amount of qpair are being destroyed
simultaneously), this reduces the capacity of the transport
buffers pool. Check that qpair qd is nonzero and process
requests whose state is not FREE. Processing of requests
when qpair is being deleted leads to their release.

Change-Id: I0e42b5cb78f35add9f37942db77781db72c1e59c
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/676
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-02-17 10:06:38 +00:00
..
ctrlr_bdev.c nvmf: Move spdk_internal/nvmf.h to spdk/nvmf_cmd.h 2020-02-12 12:07:04 +00:00
ctrlr_discovery.c nvmf: don't keep a global discovery log page. 2019-09-03 00:30:59 +00:00
ctrlr.c nvmf: Allow fabrics get/set on ASQ and ACQ 2020-02-12 12:07:04 +00:00
fc_ls.c lib/nvmf: get_transport now takes a string. 2020-01-16 09:10:38 +00:00
fc.c nvmf: Add a public nvmf_transport.h 2020-02-12 12:07:04 +00:00
Makefile nvmf: Move custom admin command handler implementation to nvmf_tgt 2020-02-12 12:07:04 +00:00
nvmf_fc.h lib/nvme: update trid struct with trstring. 2020-01-16 09:10:38 +00:00
nvmf_internal.h nvmf: Allow fabrics get/set on ASQ and ACQ 2020-02-12 12:07:04 +00:00
nvmf_rpc.c nvmf/rpc: Destroy subsystem if spdk_rpc_nvmf_create_subsystem fails 2020-02-17 10:05:27 +00:00
nvmf.c nvmf/ctrlr: introduce utils used during ctrlr connection 2020-02-04 15:16:12 +00:00
rdma.c rdma: release incomplete requests during qpair desctruction 2020-02-17 10:06:38 +00:00
subsystem.c nvmf: check if listener already exists in subsystem earlier 2020-02-04 18:27:46 +00:00
tcp.c nvmf: Add a public nvmf_transport.h 2020-02-12 12:07:04 +00:00
transport.c nvmf: Add a public nvmf_transport.h 2020-02-12 12:07:04 +00:00
transport.h nvmf: Add a public nvmf_transport.h 2020-02-12 12:07:04 +00:00