Spdk/module/bdev/nvme
Jim Harris 6d9d3f87e3 bdev_nvme: don't try to read csts on fabrics cmd timeout
It is recommended to read CSTS when there is a timeout.
If CSTS.CFS (Controller Fatal Status) is set, we should
reset the controller.

But if an admin command on a fabrics controller times
out, reading CSTS submits another fabrics command that
could also timeout.  Even worse, we are recursively
polling the admin queue for completions in this case.

Fixes issue #1716.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I23d31f6302375c52eba6f4370748d622fbd25ca7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5513
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>
2020-12-11 11:10:37 +00:00
..
bdev_nvme_cuse_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
bdev_nvme_rpc.c rpc: add keep alive parameter in bdev nvme 2020-12-07 14:57:03 +00:00
bdev_nvme.c bdev_nvme: don't try to read csts on fabrics cmd timeout 2020-12-11 11:10:37 +00:00
bdev_nvme.h rpc: add keep alive parameter in bdev nvme 2020-12-07 14:57:03 +00:00
bdev_ocssd_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
bdev_ocssd.c bdev/nvme: Use nvme_ns for nvme_bdev_ns and ns for spdk_nvme_ns 2020-12-02 10:19:32 +00:00
bdev_ocssd.h bdev/nvme: Use nvme_ns for nvme_bdev_ns and ns for spdk_nvme_ns 2020-12-02 10:19:32 +00:00
common.c bdev/nvme: Get the connected trid from NVMe driver in dump_info_json() 2020-11-16 12:26:35 +00:00
common.h bdev/nvme: Use nvme_ns for nvme_bdev_ns and ns for spdk_nvme_ns 2020-12-02 10:19:32 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme_rpc.c module/nvme: Fix warning about scanbuild. 2020-10-27 08:42:32 +00:00
vbdev_opal_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
vbdev_opal.c bdev_nvme/opal: Use spdk_bdev_part_base_construct_ext() to pass bdev_name 2020-10-16 08:14:34 +00:00
vbdev_opal.h module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00