Spdk/lib/nvmf
Jim Harris ac3a42b15c nvmf: retry connect commands internally when subsys not ready
It is better to not fail connect commands when a subsystem
is not ready.  The host will not be expecting that and will
typically treat it as a catastrophic failure (i.e. it won't
retry the connect).

So instead when this situation occurs, start a poller for
the connect request.  We will continue to retry processing
it until the subsystem is ready to handle it.

Fixes issue #1985.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Id8835df8f0edf1e889fdd7e754e261c2a880cbb6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8571
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-07-05 14:45:34 +00:00
..
ctrlr_bdev.c nvmf: Support physical block size if exposed by bdev 2021-05-06 07:14:40 +00:00
ctrlr_discovery.c nvmf: remove a bdev_module.h #include 2021-05-11 11:57:01 +00:00
ctrlr.c nvmf: retry connect commands internally when subsys not ready 2021-07-05 14:45:34 +00:00
fc_ls.c nvmf/fc: Handle out of order fused commands. 2021-01-14 16:18:25 +00:00
fc.c lib/trace: don't pass zero as a non-argument 2021-06-28 16:17:35 +00:00
Makefile nvmf: Remove spdk_nvmf_request_get_buffers_multi API 2021-05-18 12:44:18 +00:00
nvmf_fc.h nvmf/fc: Add flag to differentiate LS queue and non LS queue. 2021-01-14 16:18:25 +00:00
nvmf_internal.h nvmf: Add nvmf_set_crdt RPC 2021-06-04 20:02:42 +00:00
nvmf_rpc.c nvmf: Allow configurable controller ID range 2021-05-12 09:18:48 +00:00
nvmf.c nvmf: check for null admin_qpair when updating subsystem pg 2021-07-05 14:45:34 +00:00
rdma.c lib/trace: don't pass zero as a non-argument 2021-06-28 16:17:35 +00:00
spdk_nvmf.map nvmf: Remove spdk_nvmf_request_get_buffers_multi API 2021-05-18 12:44:18 +00:00
subsystem.c nvmf:check return value of strdup in spdk_nvmf_subsystem_add_ns_ext() 2021-06-15 23:39:17 +00:00
tcp.c lib/trace: don't pass zero as a non-argument 2021-06-28 16:17:35 +00:00
transport.c nvmf: add traces around poll group lifecycle 2021-06-10 10:58:05 +00:00
transport.h nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00
vfio_user.c vfio-user: fix nvmf_vfio_user_poll_group_add() comment 2021-06-30 22:53:38 +00:00