File 0106-nvme-cli-Update-nvme-connect-all-man-page.patch of Package nvme-cli.11415
From 36bdeac838524d2269dc943826565c2de08721d3 Mon Sep 17 00:00:00 2001
From: Simon Schricker <sschricker@suse.de>
Date: Thu, 16 May 2019 16:19:24 +0200
Subject: [PATCH] nvme-cli: Update nvme connect-all man page
New functionality was provided by back-ported patches, but was not
documented in the corresponding man page.
---
Documentation/nvme-connect-all.txt | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)
diff --git a/Documentation/nvme-connect-all.txt b/Documentation/nvme-connect-all.txt
index 981549a..a1e89f9 100644
--- a/Documentation/nvme-connect-all.txt
+++ b/Documentation/nvme-connect-all.txt
@@ -14,11 +14,13 @@ SYNOPSIS
[--trsvcid=<trsvcid> | -s <trsvcid>]
[--host-traddr=<traddr> | -w <traddr>]
[--hostnqn=<hostnqn> | -q <hostnqn>]
- [--raw=<filename> | -r <filename>]
+ [--hostid=<hostid> | -I <hostid>]
+ [--raw=<filename> | -r <filename>]
+ [--keep-alive-tmo=<#> | -k <#>]
+ [--reconnect-delay=<#> | -c <#>]
+ [--ctrl-loss-tmo=<#> | -l <#>]
[--nr-io-queues=<#> | -i <#>]
[--queue-size=<#> | -Q <#>]
- [--keep-alive-tmo=<#> | -k <#>]
- [--ctrl-loss-tmo=<#> | -l <#>]
DESCRIPTION
-----------
@@ -79,12 +81,30 @@ OPTIONS
the Discovery Controller to control what NVMe Target resources are
allocated to the NVMe Host for a connection.
+-I <hostid>::
+--hostid=<hostid>::
+ UUID(Universally Unique Identifier) to be discovered which should be
+ formatted.
+
-r <filename>::
--raw=<filename>::
This field will take the output of the 'nvme connect-all' command
and dump it to a raw binary file. By default 'nvme connect-all' will
dump the output to stdout.
+-k <#>::
+--keep-alive-tmo=<#>::
+ Overrides the default keep alive timeout (in seconds).
+
+-c <#>::
+--reconnect-delay=<#>::
+ Overrides the default delay (in seconds) before reconnect is attempted
+ after a connect loss.
+
+-l <#>::
+--ctrl-loss-tmo=<#>::
+ Overrides the default controller loss timeout period (in seconds).
+
-i <#>::
--nr-io-queues=<#>::
Overrides the default number of I/O queues create by the driver.
@@ -97,10 +117,6 @@ OPTIONS
by the driver. This option will be ignored for discovery, but will be
passed on to the subsequent connect call.
--k <#>::
---keep-alive-tmo=<#>::
- Overrides the default keep alive timeout (in seconds).
-
EXAMPLES
--------
* Connect to all records returned by the Discover Controller with IP4 address
@@ -113,6 +129,7 @@ the RDMA network. Port 4420 is used by default:
------------
+
* Issue a 'nvme connect-all' command using a /etc/nvme/discovery.conf file:
++
-----------
# Machine default 'nvme discover' commands. Query the
# Discovery Controller's two ports (some resources may only
--
2.16.4