Shuhei Matsumoto 80e81273e2 bdev/nvme: Do not use ctrlr for I/O submission if reconnect failed repeatedly
If ctrlr_loss_timeout_sec is set to -1, reconnect is tried repeatedly
indefinitely, and I/Os continue to be queued.

This patch adds another option fast_io_fail_timeout_sec, a flag
fast_io_fail_timedout to nvme_ctrlr.

If the time fast_io_fail_timeout_sec passed after starting reset,
set fast_io_fail_timedout to true not to use the path for I/O submission.

fast_io_fail_timeout_sec is initialized to zero as same as
ctrlr_loss_timeout_sec and reconnect_delay_sec.

The name of the parameter follows the famous DM-multipath, its fast_io_fail_tmo.

Change-Id: Ib870cf8e2fd29300c47f1df69617776f4e67bd8c
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10301
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-01-17 14:25:15 +00:00
..
2021-12-02 15:41:33 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-12-02 15:41:33 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-11-30 09:05:19 +00:00
2018-12-10 15:56:50 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-11-30 09:05:19 +00:00
2021-11-30 09:05:19 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-03-18 14:43:08 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-05 07:42:35 +00:00
2021-11-30 09:05:19 +00:00
2021-11-30 09:05:19 +00:00
2021-01-04 16:28:01 +00:00
2021-09-08 21:53:48 +00:00
2021-06-08 08:27:15 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00

SPDK Documentation

The current version of the SPDK documentation can be found online at http://www.spdk.io/doc/

Building the Documentation

To convert the documentation into HTML run make in the doc directory. The output will be located in doc/output/html. Before running make ensure all pre-requisites are installed. See Installing Prerequisites for more details.