Skip to contentSkip to conversation

fabrics: add ctrl-loss-tmo to connect-all

PATCH New Johannes Thumshirn 2 participants 2 messages May 29, 2018 – Jun 4, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fabrics: add ctrl-loss-tmo to connect-all

Similarly to "keep-alive-tmo" a user might want to specify the "ctrl-loss-tmo" on connect-all as well.

Signed-off-by Johannes Thumshirn <jthumshirn at suse.de>
---
 Documentation/nvme-connect-all.txt | 1 +
 fabrics.c                          | 2 ++
 2 files changed, 3 insertions(+)
Documentation/nvme-connect-all.txt +1 -0
index 217268f97559..0fa7cda211d4 100644
@@ -15,6 +15,7 @@ SYNOPSIS
 		[--host-traddr=<traddr>   | -w <traddr>]
 		[--hostnqn=<hostnqn>      | -q <hostnqn>]
 		[--keep-alive-tmo=<#>     | -k <#>]
+		[--ctrl-loss-tmo=<#>	  | -l <#>]
 		[--raw=<filename>         | -r <filename>]
 
 DESCRIPTION
fabrics.c +2 -0
index 408afb0d453b..4ae83fd5de02 100644
@@ -850,6 +850,8 @@ int discover(const char *desc, int argc, char **argv, bool connect)
 		{"nr-io-queues",'i', "LIST", CFG_STRING, &cfg.nr_io_queues,required_argument, "number of io queues to use (default is core count)" },
 		{"raw",         'r', "LIST", CFG_STRING, &cfg.raw,         required_argument, "raw output file" },
 		{"keep-alive-tmo",  'k', "LIST", CFG_STRING, &cfg.keep_alive_tmo,  required_argument, "keep alive timeout period in seconds" },
+		{"ctrl-loss-tmo",   'l', "LIST", CFG_STRING, &cfg.ctrl_loss_tmo,   required_argument, "controller loss timeout period in seconds" },
+
 		{NULL},
 	};
 
Signature · 1 line
2.16.3
#1 lore raw

PATCH 1/1 fabrics: add ctrl-loss-tmo to connect-all

Quoted 2 lines · Johannes Thumshirn

Similarly to "keep-alive-tmo" a user might want to specify the "ctrl-loss-tmo" on connect-all as well.

Looks good, applied.