Spdk/lib/nvme
Ziye Yang 3608464f04 nvme: fix the aer request sent to disabled controller
The purpose this patch is to fix the following issue:

https://github.com/spdk/spdk/issues/568.

The root cause of issue is in nvme_rdma_fail_qpair
since we want to recycle all outstanding rdma_reqs.
There is an aer req, the callback of which is:
nvme_ctrlr_async_event_cb. In this function, we
will call nvme_ctrlr_construct_and_submit_aer again,
however the nvme controller is already in shutdown state.
(The ctrlr->vcprop.cc.bits.en is set to 0).

Change-Id: I422f0fe5faf472e9a1cb6bbd174e806e6405b95c
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/440014
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-01-18 17:44:08 +00:00
..
Makefile nvme: Add the NVMe over fabrics TCP/IP transport support 2018-11-19 20:36:05 +00:00
nvme_ctrlr_cmd.c nvme: add security receive and security send wrapper 2019-01-07 05:51:07 +00:00
nvme_ctrlr_ocssd_cmd.c nvme: unlock mutex on failure 2018-11-26 07:06:42 +00:00
nvme_ctrlr.c nvme: fix the aer request sent to disabled controller 2019-01-18 17:44:08 +00:00
nvme_fabric.c nvme/rdma: factor out Connect command 2018-06-27 22:59:18 +00:00
nvme_internal.h nvme: fix the aer request sent to disabled controller 2019-01-18 17:44:08 +00:00
nvme_ns_cmd.c nvme: printf info after error 2018-09-18 22:40:34 +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_pcie.c memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
nvme_qpair.c nvme: printf info after error 2018-09-18 22:40:34 +00:00
nvme_quirks.c nvme: add quirk for Intel SSDs without vendor-specific log pages 2018-08-27 14:58:48 +00:00
nvme_rdma.c nvme: report SQ deletion code to outstanding admin requests 2019-01-17 21:04:43 +00:00
nvme_tcp.c nvme/tcp: solve the adminq is not created issue. 2018-12-12 20:44:01 +00:00
nvme_transport.c nvme: Add the NVMe over fabrics TCP/IP transport support 2018-11-19 20:36:05 +00:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme_bdev: add parsing for hostaddr and hostsvcid 2018-12-20 17:31:43 +00:00