From 42c6bc8ccd5159882f8dde3cc70b146a2b0a350b Mon Sep 17 00:00:00 2001 From: Tiago Castro Date: Thu, 23 Nov 2023 15:29:29 +0000 Subject: [PATCH] fix(nvme/kato): adjust to spdk minimum SPDK minimum KATO is 10s, so setting 1s is pointless. Also the spec does suggest setting a sufficiently high KATO on a fabric, so perhaps we might want to consider increasing it in the future. Signed-off-by: Tiago Castro --- io-engine/src/subsys/config/opts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io-engine/src/subsys/config/opts.rs b/io-engine/src/subsys/config/opts.rs index fbbfbf438..b6700c734 100644 --- a/io-engine/src/subsys/config/opts.rs +++ b/io-engine/src/subsys/config/opts.rs @@ -375,7 +375,7 @@ impl Default for NvmeBdevOpts { ), keep_alive_timeout_ms: time_try_from_env( "NVME_KATO", - 1_000, + 10_000, TimeUnit::MilliSeconds, ), transport_retry_count: try_from_env("NVME_RETRY_COUNT", 0),