Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
nvme-cli.15716
0006-fabrics-write-reconnect_delay-to-fabrics-d...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0006-fabrics-write-reconnect_delay-to-fabrics-device-on-c.patch of Package nvme-cli.15716
From 55747d0adedd91b07a3a417d9cec22d43a767b32 Mon Sep 17 00:00:00 2001 From: Martin George <marting@netapp.com> Date: Mon, 11 May 2020 20:07:15 +0530 Subject: [PATCH 3/3] fabrics: write reconnect_delay to fabrics device on connect Though '--reconnect-delay' option is defined for connect, it wasn't passed down to the kernel in connect_ctrl(). Git-commit: b2a0aba1176aa26f2b5ce0c0360c4be67dff63d8 References: bsc#1172111 Signed-off-by: Martin George <marting@netapp.com> Signed-off-by: Keith Busch <keith.busch@wdc.com> --- fabrics.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fabrics.c b/fabrics.c index aad399d..7690f2c 100644 --- a/fabrics.c +++ b/fabrics.c @@ -691,6 +691,13 @@ retry: p+= len; } + if (cfg.reconnect_delay) { + len = sprintf(p, ",reconnect_delay=%d", cfg.reconnect_delay); + if (len < 0) + return -EINVAL; + p += len; + } + if (cfg.ctrl_loss_tmo) { len = sprintf(p, ",ctrl_loss_tmo=%d", cfg.ctrl_loss_tmo); if (len < 0) -- 2.13.7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor