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> |
||
---|---|---|
.. | ||
bdev_nvme_cuse_rpc.c | ||
bdev_nvme_rpc.c | ||
bdev_nvme.c | ||
bdev_nvme.h | ||
bdev_ocssd_rpc.c | ||
bdev_ocssd.c | ||
bdev_ocssd.h | ||
common.c | ||
common.h | ||
Makefile | ||
nvme_rpc.c | ||
vbdev_opal_rpc.c | ||
vbdev_opal.c | ||
vbdev_opal.h |