numam-spdk/lib/nvme
yidong0635 ff0a7dfc42 nvme: Handle CQ polling failures by marking the controller as failed.
nvme_transport_qpair_process_completions calls nvme_rdma_qpair_process_completions
There are some cases return -1 due to failure of "CQ errors".

Handle CQ polling failures by marking the controller as failed.
That a completion with an error will be treated as controller failed.
Requests will be aborted after retry counter exceeded. Otherwise, code will keep on
reporting errors without recovery.

This is to fix issue #850.

Change-Id: I0b324232310e107bf7fd5722aca54d402a19b14d
Signed-off-by: yidong0635 <dongx.yi@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/460569
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-07-09 01:43:02 +00:00
..
Makefile Opal: Add Opal library 2019-04-08 17:04:25 +00:00
nvme_ctrlr_cmd.c nvme: add qpair parameter to nvme_complete_request 2019-05-22 14:51:01 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme: Ensure max_sges not to exceed what controller supports in generic layer 2019-07-05 06:35:41 +00:00
nvme_fabric.c nvme: switch to spdk_*malloc(). 2019-06-27 04:34:50 +00:00
nvme_internal.h nvme: assign qpair when req is allocated 2019-06-04 00:01:35 +00:00
nvme_ns_cmd.c nvme: explicitly mark _nvme_ns_cmd_rw as inline 2019-06-03 03:11:08 +00:00
nvme_ns_ocssd_cmd.c vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
nvme_ns.c nvme: make identify NS id descriptors can be executed asynchronously 2018-10-15 17:57:56 +00:00
nvme_opal_internal.h opal: add support for getting locking range info 2019-07-05 02:23:28 +00:00
nvme_opal.c opal: add support for getting locking range info 2019-07-05 02:23:28 +00:00
nvme_pcie.c nvme: fix the endless loop of aborting trackers 2019-06-21 08:34:41 +00:00
nvme_qpair.c nvme: Handle CQ polling failures by marking the controller as failed. 2019-07-09 01:43:02 +00:00
nvme_quirks.c nvme: add SHST_COMPLETE quirk for VMWare emulated SSDs 2019-02-27 01:46:32 +00:00
nvme_rdma.c nvme: Set appropriate value to max_xfer_size and max_sge 2019-07-05 06:35:41 +00:00
nvme_tcp.c Nvme: check spdk_nvme_qpair_process_completions return value. 2019-07-09 00:27:54 +00:00
nvme_transport.c nvme: add qpair is_connecting flag 2019-05-14 08:48:11 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c Nvme: check spdk_nvme_qpair_process_completions return value. 2019-07-09 00:27:54 +00:00