numam-spdk/lib/nvme
Jim Harris 59c8bb527b nvme: do not try to resubmit requests on error
If the transport returns error when polling for
completions, it gets to a uint32_t and we end up
trying to resubmit all of the requests that are
currently queued.  But that's not correct - if
the transport returns an error we shouldn't be
trying to resubmit requests at all.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9198e3e2d71875cc1e46e0ac928338bb983487f3

Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8395
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2021-06-17 09:02:14 +00:00
..
Makefile lib/nvme: Add support for Simple Copy Command 2021-05-14 09:59:54 +00:00
nvme_ctrlr_cmd.c nvme/ctrlr: Always access namespaces via getter function 2021-05-20 15:17:41 +00:00
nvme_ctrlr_ocssd_cmd.c nvme: Move nsdata to namespace structure 2021-03-02 08:06:15 +00:00
nvme_ctrlr.c nvme: default use_cmb_sqs to false 2021-06-11 22:12:08 +00:00
nvme_cuse.c nvme: add cuse support for RESCAN IOCTL 2021-06-04 19:58:41 +00:00
nvme_cuse.h lib/nvme: add RPC for interacting with CUSE devices 2019-10-24 23:43:59 +00:00
nvme_fabric.c nvme: init discovery ctrlr using nvme_ctrlr_process_init 2021-05-28 08:14:06 +00:00
nvme_internal.h nvme: save last transport_failure_reason in transport 2021-06-04 20:03:25 +00:00
nvme_io_msg.c nvme: only process io_msg in primary process 2021-04-22 01:06:02 +00:00
nvme_io_msg.h lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_ns_cmd.c lib/nvme: Add support for Simple Copy Command 2021-05-14 09:59:54 +00:00
nvme_ns_ocssd_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns.c nvme/quirk: add MDTS excludes interleaved metadata quirk 2021-03-29 07:38:37 +00:00
nvme_opal_internal.h nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
nvme_opal.c nvme/opal: check Security Protocol 00h before sending TCG SP 2021-06-04 19:57:36 +00:00
nvme_pcie_common.c nvme/pcie: use nvme_pcie_vtophys in the submit request function 2021-06-09 07:21:31 +00:00
nvme_pcie_internal.h nvme/pcie: move nvme_pcie_qpair_submit_request() to pcie common layer 2021-06-08 08:28:44 +00:00
nvme_pcie.c env: only pass failing address to spdk_pci_error_handler 2021-06-15 08:34:28 +00:00
nvme_poll_group.c nvme: Add functions to get/free poll group statistics 2021-04-13 21:30:52 +00:00
nvme_qpair.c nvme: do not try to resubmit requests on error 2021-06-17 09:02:14 +00:00
nvme_quirks.c nvme: add quirks for new RedHat QEMU NVMe dev/vendor ID 2021-06-11 07:22:10 +00:00
nvme_rdma.c nvme: do not try to resubmit requests on error 2021-06-17 09:02:14 +00:00
nvme_tcp.c nvme_tcp: Add data pdu crc32c offloading in receving side by Accel framework. 2021-06-15 08:34:58 +00:00
nvme_transport.c nvme: save last transport_failure_reason in transport 2021-06-04 20:03:25 +00:00
nvme_vfio_user.c nvme/vfio-user: use the common request submission function 2021-06-09 07:21:31 +00:00
nvme_zns.c nvme: Move nsdata_zns to namespace structure 2021-03-02 08:06:15 +00:00
nvme.c nvme: fix DEFAULT_IO_QUEUE_SIZE_FOR_QUIRK handling 2021-06-09 07:07:50 +00:00
spdk_nvme.map nvme: add spdk_nvme_ctrlr_is_fabrics() 2021-06-01 07:43:12 +00:00