Spdk/test
Vasuki Manikarnike 3fcee8ddcc lib/nvme: Do not submit queued aborts if adminq is in failed state.
With RDMA, the admin poller can experience a remote disconnect when
processing completions. The admin qpair will be disconnected to handle
this. The disconnect code path will manually complete queued aborts.
However, the completion callback for the abort will attempt to resubmit
other queued aborts from the queue, which will result in a very large
stack and can eventually cause a segfault.
The fix is to not resubmit queued aborts if the admin qpair is in any
kind of failed state.

Change-Id: I4a6f959232c8a1bd30c87ca50459014e556cbaa0
Signed-off-by: Vasuki Manikarnike <vasuki.manikarnike@hpe.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15114
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com>
2022-10-28 06:26:20 +00:00
..
accel accel: Do not refer to the "framework" as "engine" 2022-09-06 07:16:17 +00:00
app test/llvm_vfio_fuzz: test normal IO during fuzzing 2022-09-27 19:41:07 +00:00
bdev test/bdev: Add xnvme support to blockdev.sh setup 2022-10-27 09:06:37 +00:00
blobfs trace: update trace help inside SPDK target 2022-09-27 19:41:17 +00:00
blobstore autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
common test: remove SMA tests from skipped_tests 2022-10-19 07:47:20 +00:00
compress test/compress: change environment variable to "NET_TYPE=virt" in 2022-09-21 07:49:41 +00:00
cpp_headers lib/vfu_tgt: add library for PCI device emulation 2022-09-29 19:42:56 +00:00
dd test/xnvme: Use null_blk device instead of zram for the backend device 2022-10-27 09:06:37 +00:00
dma check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
dpdk_memory_utility autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
env env_dpdk: add dpdk_pci_device_get_mem_resource 2022-09-29 15:32:24 +00:00
event check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
external_code configure/misc: make ISA-L a hard dependency 2022-09-20 10:18:54 +00:00
ftl ftl: Remove unnecessary bdev_nvme_detach_controller from test 2022-09-20 19:24:26 +00:00
fuzz autotest: Move the llvm_nvme_fuzz to test/fuzz 2022-10-17 12:38:20 +00:00
interrupt scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt iscsi_tgt/sock.sh: comment out test with openssl ktls option enabled 2022-10-21 07:33:15 +00:00
json_config bdev_iscsi: add bdev iscsi config json 2022-10-17 12:37:36 +00:00
lvol bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
make autobuild: tiny version 2022-10-17 10:50:40 +00:00
nvme test/xnvme: Use null_blk device instead of zram for the backend device 2022-10-27 09:06:37 +00:00
nvmf test/nvmf: Remove redundant steps from fabrics_fuzz 2022-10-19 07:51:33 +00:00
ocf autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
openstack run_openstack_tests.sh: move rpc_py declaration below source commands 2022-09-08 07:20:17 +00:00
packaging test/packaging: Introduce separate test suite for packaging 2022-10-17 10:48:31 +00:00
pmem bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
rpc scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
rpc_client check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: Fallback to checking user mode load if idle check fails 2022-09-26 15:36:07 +00:00
setup scripts/setup: Don't overwrite already allocated number of hugepages 2022-10-19 07:49:22 +00:00
sma test/sma: add test for multiple bus support for NVMe/vfio_user plugin 2022-09-23 11:33:07 +00:00
spdkcli test/spdkcli: reduce amount of HUGEMEM memory requested 2022-09-19 13:11:06 +00:00
thread Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
unit lib/nvme: Do not submit queued aborts if adminq is in failed state. 2022-10-28 06:26:20 +00:00
vfio_user test/vfio-user: add virtio_blk|scsi VM fio|restart test case 2022-09-29 19:42:56 +00:00
vhost test/vfio-user: add virtio_blk|scsi VM fio|restart test case 2022-09-29 19:42:56 +00:00
vmd vmd: rename enable_vmd RPC to vmd_enable 2022-09-01 08:48:32 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_cunit.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00