numam-spdk/test
Changpeng Liu e27421b344 nvme: fix req leaks
There are many req leaks when a controller failure
occurs during submitting IO. It must free all of
the children before freeing the parent req.

If a part of the child req has been sent to the back end
and a part of the child req fails, removes the failed req
from the parent req and the parent req must be retained,
freeing the parent req after all of the submitted reqs return.

Change-Id: Ieb5423fd19c9bb0420f154b3cfc17918c2b80748
Signed-off-by: Huiming Xie <xiehuiming@huawei.com>
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/461734
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-07-22 04:15:34 +00:00
..
app test: add a fuzzer for the vhost API 2019-07-08 09:18:19 +00:00
bdev test/bdevio: present info when RPC lib is missing from PYTHONPATH 2019-07-12 07:44:34 +00:00
blobfs test/rocksdb: remove run_tests.sh 2019-07-05 12:13:16 +00:00
blobstore test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
common ut: move all spdk_env_* mocks to test_env.c 2019-07-18 04:21:08 +00:00
config_converter iscsi: Deprecate MinConnectionsPerCore 2019-05-06 17:10:48 +00:00
cpp_headers Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
env test/nvme: Allow NVMe with 0 namespaces in tests 2019-07-08 09:39:09 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl test/ftl: wait till nbd is ready when loading JSON config 2019-07-12 12:39:38 +00:00
fuzz test: add autofuzz.sh script family 2019-07-18 04:08:48 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt test/iscsi_tgt: fix fio nightly test 2019-07-16 14:38:14 +00:00
json_config test/json_config: enable bash xtraces 2019-07-16 01:38:40 +00:00
lvol test/lvol: Check if snapshot with snapshot can be deleted 2019-07-12 08:26:04 +00:00
nvme nvme/perf: add bdevperf 2019-07-17 04:36:18 +00:00
nvmf test/nvmf: add || true to kill commands. 2019-07-18 04:10:52 +00:00
ocf test/ocf: disable persistent metadata test 2019-06-11 18:16:55 +00:00
pmem test/pmem: cleanup common.sh 2019-06-19 03:54:58 +00:00
rpc_client test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
spdkcli test/spdkcli: test start_subsystem_init command 2019-07-18 05:29:00 +00:00
unit nvme: fix req leaks 2019-07-22 04:15:34 +00:00
vhost test/vhost: Group all vhost generated files into a single directory 2019-07-18 05:31:13 +00:00
vmd test/vmd: Basic VMD tests 2019-07-18 03:52:37 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00