numam-spdk/lib/nvmf
Seth Howell 961cd6ab7e rdma: register a poller to destroy defunct qpairs
Not all RDMA drivers fail back the dummy recv and send operations that
we send to them when destroying a qpair. We still need to free the
resources from these qpairs to avoid eating up all of the system memory
after multiple connect and disconnect events. Since we won't be getting
any more completions, the best heuristic we can use is waiting a long
time and then freeing the resources.

qpair_fini is only called from the proper polling thread so we can safely
call process_pending to flush the qpair before closing it out.

Change-Id: I61e6931d7316d1e78bad26657bb671aa451e29f4
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/443057
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-03-04 19:12:48 +00:00
..
ctrlr_bdev.c nvmf: Expose bdev's PI setting to NVMe-oF Initiator 2019-02-22 00:36:55 +00:00
ctrlr_discovery.c nvmf: Only present subsystem if it is ready 2019-01-07 06:02:26 +00:00
ctrlr.c nvmf: add get/set features with reservation notification mask support 2019-02-14 01:28:43 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf: add get/set features with reservation notification mask support 2019-02-14 01:28:43 +00:00
nvmf.c nvmf: remove qpair state activating. 2019-02-12 20:39:44 +00:00
rdma.c rdma: register a poller to destroy defunct qpairs 2019-03-04 19:12:48 +00:00
subsystem.c nvmf: Expose bdev's PI setting to NVMe-oF Initiator 2019-02-22 00:36:55 +00:00
tcp.c nvmf/tcp: fix the space alignment issue in spdk_nvmf_tcp_qpair 2019-03-01 04:43:40 +00:00
transport.c nvmf: use io unit size in transport buffer pools 2019-02-12 23:34:20 +00:00
transport.h nvmf/transport: move buffer_pool to generic struct. 2019-01-17 19:42:01 +00:00