]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
doc: Update nvme-discover by describing options
authorMinwoo Im <minwoo.im.dev@gmail.com>
Wed, 3 Apr 2019 16:24:07 +0000 (01:24 +0900)
committerMinwoo Im <minwoo.im.dev@gmail.com>
Wed, 3 Apr 2019 16:24:07 +0000 (01:24 +0900)
We have had newly added command options for Discover controller.  This
patch updates descriptions of command options.

+ This patch also fixes an trivial mis-aligned paragraph issue which can
be in this commit to avoid any confusions in document update which might
show too many diffs.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Documentation/nvme-discover.1
Documentation/nvme-discover.html
Documentation/nvme-discover.txt

index 472ffe3a3d8c0e979f2718cd945393a81efd9688..759f68ca4aef5cb306c46f10ff4b4f3f76195438 100644 (file)
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: nvme-discover
 .\"    Author: [see the "AUTHORS" section]
-.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 01/08/2019
+.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
+.\"      Date: 04/04/2019
 .\"    Manual: NVMe Manual
 .\"    Source: NVMe
 .\"  Language: English
 .\"
-.TH "NVME\-DISCOVER" "1" "01/08/2019" "NVMe" "NVMe Manual"
+.TH "NVME\-DISCOVER" "1" "04/04/2019" "NVMe" "NVMe Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -38,9 +38,17 @@ nvme-discover \- Send Get Log Page request to Discovery Controller\&.
                 [\-\-trsvcid=<trsvcid>      | \-s <trsvcid>]
                 [\-\-host\-traddr=<traddr>   | \-w <traddr>]
                 [\-\-hostnqn=<hostnqn>      | \-q <hostnqn>]
+                [\-\-hostid=<hostid>        | \-I <hostid>]
                 [\-\-raw=<filename>         | \-r <filename>]
+                [\-\-keep\-alive\-tmo=<sec>   | \-k <sec>]
                 [\-\-reconnect\-delay=<#>    | \-c <#>]
                 [\-\-ctrl\-loss\-tmo=<#>      | \-l <#>]
+                [\-\-hdr_digest             | \-g]
+                [\-\-data_digest            | \-G]
+                [\-\-nr\-io\-queues=<#>       | \-i <#>]
+                [\-\-nr\-write\-queues=<#>    | \-W <#>]
+                [\-\-nr\-poll\-queues=<#>     | \-P <#>]
+                [\-\-queue\-size=<#>         | \-Q <#>]
 .fi
 .SH "DESCRIPTION"
 .sp
@@ -102,14 +110,19 @@ This field specifies the network address of the Discovery Controller\&. For tran
 This field specifies the transport service id\&. For transports using IP addressing (e\&.g\&. rdma) this field is the port number\&. By default, the IP port number for the RDMA transport is 4420\&.
 .RE
 .PP
+\-w <traddr>, \-\-host\-traddr=<traddr>
+.RS 4
+This field specifies the network address used on the host to connect to the Discovery Controller\&.
+.RE
+.PP
 \-q <hostnqn>, \-\-hostnqn=<hostnqn>
 .RS 4
 Overrides the default host NQN that identifies the NVMe Host\&. If this option is not specified, the default is read from /etc/nvme/hostnqn first\&. If that does not exist, the autogenerated NQN value from the NVMe Host kernel module is used next\&.
 .RE
 .PP
-\-w <traddr>, \-\-host\-traddr=<traddr>
+\-I <hostid>, \-\-hostid=<hostid>
 .RS 4
-This field specifies the network address used on the host to connect to the Discovery Controller\&.
+UUID(Universally Unique Identifier) to be discovered which should be formatted\&.
 .RE
 .PP
 \-r <filename>, \-\-raw=<filename>
@@ -121,6 +134,11 @@ command and dump it to a raw binary file\&. By default
 will dump the output to stdout\&.
 .RE
 .PP
+\-k <#>, \-\-keep\-alive\-tmo=<#>
+.RS 4
+Overrides the default dealy (in seconds) for keep alive\&.
+.RE
+.PP
 \-c <#>, \-\-reconnect\-delay=<#>
 .RS 4
 Overrides the default delay (in seconds) before reconnect is attempted after a connect loss\&.
@@ -130,6 +148,36 @@ Overrides the default delay (in seconds) before reconnect is attempted after a c
 .RS 4
 Overrides the default controller loss timeout period (in seconds)\&.
 .RE
+.PP
+\-g, \-\-hdr_digest
+.RS 4
+Generates/verifies header digest (TCP)\&.
+.RE
+.PP
+\-G, \-\-data_digest
+.RS 4
+Generates/verifies data digest (TCP)\&.
+.RE
+.PP
+\-i <#>, \-\-nr\-io\-queues=<#>
+.RS 4
+Overrides the default number of I/O queues create by the driver\&.
+.RE
+.PP
+\-W <#>, \-\-nr\-write\-queues=<#>
+.RS 4
+Adds additional queues that will be used for write I/O\&.
+.RE
+.PP
+\-P <#>, \-\-nr\-poll\-queues=<#>
+.RS 4
+Adds additional queues that will be used for polling latency sensitive I/O\&.
+.RE
+.PP
+\-Q <#>, \-\-queue\-size=<#>
+.RS 4
+Overrides the default number of elements in the I/O queues created by the driver which can be found at drivers/nvme/host/fabrics\&.h\&.
+.RE
 .SH "EXAMPLES"
 .sp
 .RS 4
@@ -165,7 +213,6 @@ Query the Discover Controller with IP4 address 192\&.168\&.1\&.3 for all resourc
 Issue a
 \fInvme discover\fR
 command using a /etc/nvme/discovery\&.conf file:
-.RE
 .sp
 .if n \{\
 .RS 4
@@ -184,6 +231,7 @@ At the prompt type "nvme discover"\&.
 .if n \{\
 .RE
 .\}
+.RE
 .SH "SEE ALSO"
 .sp
 nvme\-connect(1) nvme\-connect\-all(1)
index cadae0dbdfb55ea82de9da68b38ae99aee04f087..bc5b2410ed5d3c4d04e424d0428da6f3227ab656 100644 (file)
@@ -1,9 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
 <head>\r
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 8.6.8" />\r
+<meta name="generator" content="AsciiDoc 8.6.10" />\r
 <title>nvme-discover(1)</title>\r
 <style type="text/css">\r
 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
@@ -94,7 +95,9 @@ ul > li > * { color: black; }
   padding: 0;\r
   margin: 0;\r
 }\r
-\r
+pre {\r
+  white-space: pre-wrap;\r
+}\r
 \r
 #author {\r
   color: #527bbd;\r
@@ -223,7 +226,7 @@ div.exampleblock > div.content {
 }\r
 \r
 div.imageblock div.content { padding-left: 0; }\r
-span.image img { border-style: none; }\r
+span.image img { border-style: none; vertical-align: text-bottom; }\r
 a.image:visited { color: white; }\r
 \r
 dl {\r
@@ -752,9 +755,17 @@ nvme-discover(1) Manual Page
                 [--trsvcid=&lt;trsvcid&gt;      | -s &lt;trsvcid&gt;]\r
                 [--host-traddr=&lt;traddr&gt;   | -w &lt;traddr&gt;]\r
                 [--hostnqn=&lt;hostnqn&gt;      | -q &lt;hostnqn&gt;]\r
+                [--hostid=&lt;hostid&gt;        | -I &lt;hostid&gt;]\r
                 [--raw=&lt;filename&gt;         | -r &lt;filename&gt;]\r
+                [--keep-alive-tmo=&lt;sec&gt;   | -k &lt;sec&gt;]\r
                 [--reconnect-delay=&lt;#&gt;    | -c &lt;#&gt;]\r
-                [--ctrl-loss-tmo=&lt;#&gt;      | -l &lt;#&gt;]</pre>\r
+                [--ctrl-loss-tmo=&lt;#&gt;      | -l &lt;#&gt;]\r
+                [--hdr_digest             | -g]\r
+                [--data_digest            | -G]\r
+                [--nr-io-queues=&lt;#&gt;       | -i &lt;#&gt;]\r
+                [--nr-write-queues=&lt;#&gt;    | -W &lt;#&gt;]\r
+                [--nr-poll-queues=&lt;#&gt;     | -P &lt;#&gt;]\r
+                [--queue-size=&lt;#&gt;         | -Q &lt;#&gt;]</pre>\r
 <div class="attribution">\r
 </div></div>\r
 </div>\r
@@ -867,6 +878,18 @@ cellspacing="0" cellpadding="4">
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-w &lt;traddr&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+--host-traddr=&lt;traddr&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        This field specifies the network address used on the host to connect\r
+        to the Discovery Controller.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -q &lt;hostnqn&gt;\r
 </dt>\r
 <dt class="hdlist1">\r
@@ -881,15 +904,15 @@ cellspacing="0" cellpadding="4">
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
--w &lt;traddr&gt;\r
+-I &lt;hostid&gt;\r
 </dt>\r
 <dt class="hdlist1">\r
---host-traddr=&lt;traddr&gt;\r
+--hostid=&lt;hostid&gt;\r
 </dt>\r
 <dd>\r
 <p>\r
-        This field specifies the network address used on the host to connect\r
-        to the Discovery Controller.\r
+        UUID(Universally Unique Identifier) to be discovered which should be\r
+        formatted.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -906,6 +929,17 @@ cellspacing="0" cellpadding="4">
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+-k &lt;#&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+--keep-alive-tmo=&lt;#&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Overrides the default dealy (in seconds) for keep alive.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 -c &lt;#&gt;\r
 </dt>\r
 <dt class="hdlist1">\r
@@ -928,6 +962,73 @@ cellspacing="0" cellpadding="4">
         Overrides the default controller loss timeout period (in seconds).\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+-g\r
+</dt>\r
+<dt class="hdlist1">\r
+--hdr_digest\r
+</dt>\r
+<dd>\r
+<p>\r
+        Generates/verifies header digest (TCP).\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+-G\r
+</dt>\r
+<dt class="hdlist1">\r
+--data_digest\r
+</dt>\r
+<dd>\r
+<p>\r
+        Generates/verifies data digest (TCP).\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+-i &lt;#&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+--nr-io-queues=&lt;#&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Overrides the default number of I/O queues create by the driver.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+-W &lt;#&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+--nr-write-queues=&lt;#&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Adds additional queues that will be used for write I/O.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+-P &lt;#&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+--nr-poll-queues=&lt;#&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Adds additional queues that will be used for polling latency sensitive I/O.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+-Q &lt;#&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+--queue-size=&lt;#&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Overrides the default number of elements in the I/O queues created\r
+        by the driver which can be found at drivers/nvme/host/fabrics.h.\r
+</p>\r
+</dd>\r
 </dl></div>\r
 </div>\r
 </div>\r
@@ -951,8 +1052,6 @@ Port 4420 is used by default:
 <p>\r
 Issue a <em>nvme discover</em> command using a /etc/nvme/discovery.conf file:\r
 </p>\r
-</li>\r
-</ul></div>\r
 <div class="listingblock">\r
 <div class="content">\r
 <pre><code># Machine default 'nvme discover' commands.  Query the\r
@@ -965,6 +1064,8 @@ Issue a <em>nvme discover</em> command using a /etc/nvme/discovery.conf file:
 \r
 At the prompt type "nvme discover".</code></pre>\r
 </div></div>\r
+</li>\r
+</ul></div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -991,7 +1092,8 @@ for <a href="mailto:keith.busch@intel.com">Keith Busch</a>.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2018-12-17 13:07:47 MST\r
+Last updated\r
+ 2019-04-04 01:15:26 KST\r
 </div>\r
 </div>\r
 </body>\r
index 9751c73558c71a25d46bcb82f67b4f51934d9acf..89091c5dec3181d83dac62755b0ff06cbc225c57 100644 (file)
@@ -14,9 +14,17 @@ SYNOPSIS
                [--trsvcid=<trsvcid>      | -s <trsvcid>]
                [--host-traddr=<traddr>   | -w <traddr>]
                [--hostnqn=<hostnqn>      | -q <hostnqn>]
+               [--hostid=<hostid>        | -I <hostid>]
                [--raw=<filename>         | -r <filename>]
+               [--keep-alive-tmo=<sec>   | -k <sec>]
                [--reconnect-delay=<#>    | -c <#>]
                [--ctrl-loss-tmo=<#>      | -l <#>]
+               [--hdr_digest             | -g]
+               [--data_digest            | -G]
+               [--nr-io-queues=<#>       | -i <#>]
+               [--nr-write-queues=<#>    | -W <#>]
+               [--nr-poll-queues=<#>     | -P <#>]
+               [--queue-size=<#>         | -Q <#>]
 
 DESCRIPTION
 -----------
@@ -82,6 +90,11 @@ OPTIONS
        This field specifies the transport service id.  For transports using IP
        addressing (e.g. rdma) this field is the port number. By default, the IP
        port number for the RDMA transport is 4420.
+
+-w <traddr>::
+--host-traddr=<traddr>::
+       This field specifies the network address used on the host to connect
+       to the Discovery Controller.
  
 -q <hostnqn>::
 --hostnqn=<hostnqn>::
@@ -90,10 +103,10 @@ OPTIONS
        /etc/nvme/hostnqn first. If that does not exist, the autogenerated
        NQN value from the NVMe Host kernel module is used next.
 
--w <traddr>::
---host-traddr=<traddr>::
-       This field specifies the network address used on the host to connect
-       to the Discovery Controller.
+-I <hostid>::
+--hostid=<hostid>::
+       UUID(Universally Unique Identifier) to be discovered which should be
+       formatted.
 
 -r <filename>::
 --raw=<filename>::
@@ -101,6 +114,10 @@ OPTIONS
        and dump it to a raw binary file. By default 'nvme discover' will
        dump the output to stdout.
 
+-k <#>::
+--keep-alive-tmo=<#>::
+       Overrides the default dealy (in seconds) for keep alive.
+
 -c <#>::
 --reconnect-delay=<#>::
        Overrides the default delay (in seconds) before reconnect is attempted
@@ -110,6 +127,31 @@ OPTIONS
 --ctrl-loss-tmo=<#>::
        Overrides the default controller loss timeout period (in seconds).
 
+-g::
+--hdr_digest::
+       Generates/verifies header digest (TCP).
+
+-G::
+--data_digest::
+       Generates/verifies data digest (TCP).
+
+-i <#>::
+--nr-io-queues=<#>::
+       Overrides the default number of I/O queues create by the driver.
+
+-W <#>::
+--nr-write-queues=<#>::
+       Adds additional queues that will be used for write I/O.
+
+-P <#>::
+--nr-poll-queues=<#>::
+       Adds additional queues that will be used for polling latency sensitive I/O.
+
+-Q <#>::
+--queue-size=<#>::
+       Overrides the default number of elements in the I/O queues created
+       by the driver which can be found at drivers/nvme/host/fabrics.h.
+
 EXAMPLES
 --------
 * Query the Discover Controller with IP4 address 192.168.1.3 for all
@@ -122,6 +164,7 @@ Port 4420 is used by default:
 ------------
 +
 * Issue a 'nvme discover' command using a /etc/nvme/discovery.conf file:
++
 -----------
 # Machine default 'nvme discover' commands.  Query the
 # Discovery Controller's two ports (some resources may only