fabrics: add ctrl-loss-tmo to connect-all
Subsystems (2)
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
@@ -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
@@ -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
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.