numam-spdk/lib/nvmf
Seth Howell e59ac513fb rdma: remove reqs from read/write queues in error
Not doing so can cause us to hit asserts during the shutdown path. This
should fix an intermittent failure we are seeing on the test pool where
we hit the assert rdma_req->state != RDMA_REQUEST_STATE_FREE in
spdk_nvmf_rdma_request_process.

Note that this problem doesn't cause any data corruption when debug is
not enabled, it just causes us to probcess a subset of commands through
the state machine one extra time suring qpair shutdown.

Change-Id: Ibc36bfea87ec4089b8e2c7a915f48714fddb0b09
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447843
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-03-19 18:18:45 +00:00
..
ctrlr_bdev.c nvmf: set controller/namespace identify data to enable reservation 2019-03-08 20:55:10 +00:00
ctrlr_discovery.c nvmf: Only present subsystem if it is ready 2019-01-07 06:02:26 +00:00
ctrlr.c nvmf: rename subsystem poll group's num_channels to num_ns 2019-03-15 20:45: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 reservation information to each subsystem's poll group 2019-03-15 20:45:43 +00:00
nvmf.c nvmf: add reservation information to each subsystem's poll group 2019-03-15 20:45:43 +00:00
rdma.c rdma: remove reqs from read/write queues in error 2019-03-19 18:18:45 +00:00
subsystem.c nvmf: add namespace reservation report command support 2019-03-08 20:55:10 +00:00
tcp.c nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00
transport.c nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00
transport.h nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00