File 0037-nvme-Document-Q-and-i-for-discovery-and-connect-all.patch of Package nvme-cli.10932
From 2fc885b08fb2fc1c37df4c3cd58e4d134332f6e1 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Tue, 12 Feb 2019 13:15:43 +0100
Subject: [PATCH] nvme: Document '-Q' and '-i' for discovery and connect-all
References: bsc#1084379
Update manpages to reflect the options '-Q' and '-i', detailing
the effects on 'discover' and 'connect-all'.
Signed-off-by: Hannes Reinecke <hare@suse.com>
---
Documentation/nvme-connect-all.txt | 13 +++++++++++--
Documentation/nvme-discover.txt | 22 ++++++++++++++++++++++
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/Documentation/nvme-connect-all.txt b/Documentation/nvme-connect-all.txt
index 0fa7cda..981549a 100644
--- a/Documentation/nvme-connect-all.txt
+++ b/Documentation/nvme-connect-all.txt
@@ -14,9 +14,11 @@ SYNOPSIS
[--trsvcid=<trsvcid> | -s <trsvcid>]
[--host-traddr=<traddr> | -w <traddr>]
[--hostnqn=<hostnqn> | -q <hostnqn>]
+ [--raw=<filename> | -r <filename>]
+ [--nr-io-queues=<#> | -i <#>]
+ [--queue-size=<#> | -Q <#>]
[--keep-alive-tmo=<#> | -k <#>]
[--ctrl-loss-tmo=<#> | -l <#>]
- [--raw=<filename> | -r <filename>]
DESCRIPTION
-----------
@@ -83,10 +85,17 @@ OPTIONS
and dump it to a raw binary file. By default 'nvme connect-all' will
dump the output to stdout.
+-i <#>::
+--nr-io-queues=<#>::
+ Overrides the default number of I/O queues create by the driver.
+ This option will be ignored for discovery, but will be passed on
+ to the subsequent connect call.
+
-Q <#>::
--queue-size=<#>::
Overrides the default number of elements in the I/O queues created
- by the driver.
+ by the driver. This option will be ignored for discovery, but will be
+ passed on to the subsequent connect call.
-k <#>::
--keep-alive-tmo=<#>::
diff --git a/Documentation/nvme-discover.txt b/Documentation/nvme-discover.txt
index 287ef17..5887eca 100644
--- a/Documentation/nvme-discover.txt
+++ b/Documentation/nvme-discover.txt
@@ -15,6 +15,9 @@ SYNOPSIS
[--host-traddr=<traddr> | -w <traddr>]
[--hostnqn=<hostnqn> | -q <hostnqn>]
[--raw=<filename> | -r <filename>]
+ [--nr-io-queues=<#> | -i <#>]
+ [--queue-size=<#> | -Q <#>]
+ [--keep-alive-tmo=<#> | -k <#>]
[--reconnect-delay=<#> | -c <#>]
[--ctrl-loss-tmo=<#> | -l <#>]
@@ -101,6 +104,25 @@ OPTIONS
and dump it to a raw binary file. By default 'nvme discover' will
dump the output to stdout.
+-i <#>::
+--nr-io-queues=<#>::
+ Overrides the default number of I/O queues create by the driver.
+ This option will be ignored for the discovery, and it only implemented
+ for completeness.
+
+-Q <#>::
+--queue-size=<#>::
+ Overrides the default number of elements in the I/O queues created
+ by the driver.
+ This option will be ignored for the discovery, and it only implemented
+ for completeness.
+
+-k <#>::
+--keep-alive-tmo=<#>::
+ Overrides the default keep alive timeout (in seconds).
+ This option will be ignored for the discovery, and it only implemented
+ for completeness.
+
-c <#>::
--reconnect-delay=<#>::
Overrides the default delay (in seconds) before reconnect is attempted
--
2.13.7