]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Update documentation
authorKeith Busch <keith.busch@intel.com>
Tue, 15 Nov 2016 23:11:06 +0000 (18:11 -0500)
committerKeith Busch <keith.busch@intel.com>
Tue, 15 Nov 2016 23:11:06 +0000 (18:11 -0500)
Fill in missing options in the IO commands.

Signed-off-by: Keith Busch <keith.busch@intel.com>
12 files changed:
Documentation/nvme-read.1
Documentation/nvme-read.html
Documentation/nvme-read.txt
Documentation/nvme-write-uncor.1
Documentation/nvme-write-uncor.html
Documentation/nvme-write-uncor.txt
Documentation/nvme-write-zeroes.1
Documentation/nvme-write-zeroes.html
Documentation/nvme-write-zeroes.txt
Documentation/nvme-write.1
Documentation/nvme-write.html
Documentation/nvme-write.txt

index 8a37c2e902d62118a0a019c793ff7c185e807ab5..f04743772e59ec86d8ac63985d6c7eb22053b81f 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: nvme-read
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 10/21/2016
+.\"      Date: 11/15/2016
 .\"    Manual: NVMe Manual
 .\"    Source: NVMe
 .\"  Language: English
 .\"
-.TH "NVME\-READ" "1" "10/21/2016" "NVMe" "NVMe Manual"
+.TH "NVME\-READ" "1" "11/15/2016" "NVMe" "NVMe Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -61,6 +61,91 @@ Start block\&.
 The number of blocks to transfer\&. This is a zeroes based value to align with the kernel\(cqs use of this field\&. (ie\&. 0 means transfer 1 block)\&.
 .RE
 .PP
+\-\-block\-count=<nlb>, \-c <nlb>
+.RS 4
+Number of logical blocks to write\&.
+.RE
+.PP
+\-\-data\-size=<size>, \-z <size>
+.RS 4
+Size of data, in bytes\&.
+.RE
+.PP
+\-\-metadata\-size=<size>, \-y <size>
+.RS 4
+Size of metadata in bytes\&.
+.RE
+.PP
+\-\-data=<data\-file>, \-d <data\-file>
+.RS 4
+Data file\&. If none provided, contents are sent to STDOUT\&.
+.RE
+.PP
+\-\-metadata=<metadata\-file>, \-M <metadata\-file>
+.RS 4
+Metadata file, if necessary\&.
+.RE
+.PP
+\-\-prinfo=<prinfo>, \-p <prinfo>
+.RS 4
+Protection Information field defintion\&.
+.TS
+allbox tab(:);
+lt lt
+lt lt
+lt lt
+lt lt
+lt lt
+lt lt.
+T{
+Bit
+T}:T{
+Description
+T}
+T{
+3
+T}:T{
+PRACT: Protection Information Action\&. When set to 1, PI is stripped/inserted on read/write when the block format\(cqs metadata size is 8\&. When set to 0, metadata is passes\&.
+T}
+T{
+2:0
+T}:T{
+PRCHK: Protection Information Check:
+T}
+T{
+2
+T}:T{
+Set to 1 enables checking the guard tag
+T}
+T{
+1
+T}:T{
+Set to 1 enables checking the application tag
+T}
+T{
+0
+T}:T{
+Set to 1 enables checking the reference tag
+T}
+.TE
+.sp 1
+.RE
+.PP
+\-\-ref\-tag=<reftag>, \-r <reftag>
+.RS 4
+Optional reftag when used with protection information\&.
+.RE
+.PP
+\-\-app\-tag\-mask=<appmask>, \-m <appmask>
+.RS 4
+Optional application tag mask when used with protection information\&.
+.RE
+.PP
+\-\-force\-unit\-access, \-f
+.RS 4
+Set the force\-unit access flag\&.
+.RE
+.PP
 \-\-latency, \-t
 .RS 4
 Print out the latency the IOCTL took (in us)\&.
index 7b6f5cdf0ff038052d48da60aa2c86c17af1efb4..2bf0f44e3d2ac4c553f7638c46bbfe7963e5043f 100644 (file)
@@ -3,7 +3,7 @@
 <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.7" />\r
+<meta name="generator" content="AsciiDoc 8.6.8" />\r
 <title>nvme-read(1)</title>\r
 <style type="text/css">\r
 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
@@ -87,11 +87,15 @@ ul, ol, li > p {
 ul > li     { color: #aaa; }\r
 ul > li > * { color: black; }\r
 \r
-pre {\r
+.monospaced, code, pre {\r
+  font-family: "Courier New", Courier, monospace;\r
+  font-size: inherit;\r
+  color: navy;\r
   padding: 0;\r
   margin: 0;\r
 }\r
 \r
+\r
 #author {\r
   color: #527bbd;\r
   font-weight: bold;\r
@@ -415,12 +419,6 @@ div.unbreakable { page-break-inside: avoid; }
  *\r
  * */\r
 \r
-tt {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 div.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -454,12 +452,6 @@ div.tableblock > table[frame="vsides"] {
  *\r
  * */\r
 \r
-.monospaced {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 table.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -539,6 +531,8 @@ body.manpage div.sectionbody {
 @media print {\r
   body.manpage div#toc { display: none; }\r
 }\r
+\r
+\r
 </style>\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
@@ -806,6 +800,142 @@ by default if you don&#8217;t provide a file.</p></div>
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+--block-count=&lt;nlb&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-c &lt;nlb&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Number of logical blocks to write.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--data-size=&lt;size&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-z &lt;size&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Size of data, in bytes.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--metadata-size=&lt;size&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-y &lt;size&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Size of metadata in bytes.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--data=&lt;data-file&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-d &lt;data-file&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Data file. If none provided, contents are sent to STDOUT.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--metadata=&lt;metadata-file&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-M &lt;metadata-file&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Metadata file, if necessary.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--prinfo=&lt;prinfo&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-p &lt;prinfo&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Protection Information field defintion.\r
+</p>\r
+<div class="tableblock">\r
+<table rules="all"\r
+width="100%"\r
+frame="border"\r
+cellspacing="0" cellpadding="4">\r
+<col width="50%" />\r
+<col width="50%" />\r
+<tbody>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">Bit</p></td>\r
+<td align="left" valign="top"><p class="table">Description</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">3</p></td>\r
+<td align="left" valign="top"><p class="table">PRACT: Protection Information Action. When set to 1, PI is stripped/inserted\r
+on read/write when the block format&#8217;s metadata size is 8. When set to 0,\r
+metadata is passes.</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">2:0</p></td>\r
+<td align="left" valign="top"><p class="table">PRCHK: Protection Information Check:</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">2</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the guard tag</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">1</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the application tag</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">0</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the reference tag</p></td>\r
+</tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+</dd>\r
+<dt class="hdlist1">\r
+--ref-tag=&lt;reftag&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-r &lt;reftag&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional reftag when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--app-tag-mask=&lt;appmask&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-m &lt;appmask&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional application tag mask when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--force-unit-access\r
+</dt>\r
+<dt class="hdlist1">\r
+-f\r
+</dt>\r
+<dd>\r
+<p>\r
+        Set the force-unit access flag.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 --latency\r
 </dt>\r
 <dt class="hdlist1">\r
@@ -835,7 +965,7 @@ by default if you don&#8217;t provide a file.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2016-06-20 17:02:08 MDT\r
+Last updated 2016-11-15 18:08:16 EST\r
 </div>\r
 </div>\r
 </body>\r
index 6b3da9da0278b5a889883df66a8e842e94e67f36..dbb4aa96f3725eedaadaa0362a4318d70a7ee666 100644 (file)
@@ -40,6 +40,54 @@ OPTIONS
        align with the kernel's use of this field. (ie. 0 means transfer
        1 block).
 
+--block-count=<nlb>::
+-c <nlb>::
+       Number of logical blocks to write.
+
+--data-size=<size>::
+-z <size>::
+       Size of data, in bytes.
+
+--metadata-size=<size>::
+-y <size>::
+       Size of metadata in bytes.
+
+--data=<data-file>::
+-d <data-file>::
+       Data file. If none provided, contents are sent to STDOUT.
+
+--metadata=<metadata-file>::
+-M <metadata-file>::
+       Metadata file, if necessary.
+
+--prinfo=<prinfo>::
+-p <prinfo>::
+       Protection Information field defintion.
++
+[]
+|=================
+|Bit|Description
+|3|PRACT: Protection Information Action. When set to 1, PI is stripped/inserted
+on read/write when the block format's metadata size is 8. When set to 0,
+metadata is passes.
+|2:0|PRCHK: Protection Information Check:
+|2|Set to 1 enables checking the guard tag
+|1|Set to 1 enables checking the application tag
+|0|Set to 1 enables checking the reference tag
+|=================
+
+--ref-tag=<reftag>::
+-r <reftag>::
+       Optional reftag when used with protection information.
+
+--app-tag-mask=<appmask>::
+-m <appmask>::
+       Optional application tag mask when used with protection information.
+
+--force-unit-access::
+-f::
+       Set the force-unit access flag.
+
 --latency::
 -t::
        Print out the latency the IOCTL took (in us).
index f42c8473d4671e8f2aa797dd6cdf05a4ecff8d68..7ef249c1ca758431dbcc2b1dd0570bfe4feb5284 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: nvme-uncor
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 11/11/2016
+.\"      Date: 11/15/2016
 .\"    Manual: NVMe Manual
 .\"    Source: NVMe
 .\"  Language: English
 .\"
-.TH "NVME\-UNCOR" "1" "11/11/2016" "NVMe" "NVMe Manual"
+.TH "NVME\-UNCOR" "1" "11/15/2016" "NVMe" "NVMe Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -45,6 +45,16 @@ The Write Uncorrectable command is used to invalidate a range of logical blocks\
 .RS 4
 Start block\&.
 .RE
+.PP
+\-\-block\-count=<nlb>, \-c
+.RS 4
+Number of logical blocks to write uncorrectable\&.
+.RE
+.PP
+\-\-namespace\-id=<nsid>, \-n <nsid>
+.RS 4
+Namespace ID use in the command\&.
+.RE
 .SH "EXAMPLES"
 .sp
 No examples yet\&.
index 0dbc191fa6a444c7be70a0b38598a9ea850718ee..56683e33fdc6b34fa534346a702dcbd1b46abd61 100644 (file)
@@ -775,6 +775,28 @@ blocks.</p></div>
         Start block.\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+--block-count=&lt;nlb&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-c\r
+</dt>\r
+<dd>\r
+<p>\r
+        Number of logical blocks to write uncorrectable.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--namespace-id=&lt;nsid&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-n &lt;nsid&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Namespace ID use in the command.\r
+</p>\r
+</dd>\r
 </dl></div>\r
 </div>\r
 </div>\r
@@ -794,7 +816,7 @@ blocks.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2016-11-11 10:26:26 EST\r
+Last updated 2016-11-15 16:34:32 EST\r
 </div>\r
 </div>\r
 </body>\r
index 909533c413ac1d9bf4ede1892b3c4105b502382b..0d824d7c6dbf58fc176148881096921dcd1926e3 100644 (file)
@@ -23,6 +23,14 @@ OPTIONS
 -s <slba>::
        Start block.
 
+--block-count=<nlb>::
+-c::
+       Number of logical blocks to write uncorrectable.
+
+--namespace-id=<nsid>::
+-n <nsid>::
+       Namespace ID use in the command.
+
 EXAMPLES
 --------
 No examples yet.
index 8585c2771b571d36c0fefddc6aeebd2866ea8322..e6c741f75104d809c997d845265502a69b1f769a 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: nvme-zeroes
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 10/21/2016
+.\"      Date: 11/15/2016
 .\"    Manual: NVMe Manual
 .\"    Source: NVMe
 .\"  Language: English
 .\"
-.TH "NVME\-ZEROES" "1" "10/21/2016" "NVMe" "NVMe Manual"
+.TH "NVME\-ZEROES" "1" "11/15/2016" "NVMe" "NVMe Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -51,9 +51,99 @@ The Write Zeroes command is used to set a range of logical blocks to 0\&.
 .RS 4
 Start block\&.
 .RE
-.SH "EXAMPLES"
+.PP
+\-\-block\-count=<nlb>, \-c <nlb>
+.RS 4
+Number of logical blocks to write zeroes\&.
+.RE
+.PP
+\-\-prinfo=<prinfo>, \-p <prinfo>
+.RS 4
+Protection Information field defintion\&.
+.TS
+allbox tab(:);
+lt lt
+lt lt
+lt lt
+lt lt
+lt lt
+lt lt.
+T{
+Bit
+T}:T{
+Description
+T}
+T{
+3
+T}:T{
+PRACT: Protection Information Action\&. When set to 1, PI is stripped/inserted on read/write when the block format\(cqs metadata size is 8\&. When set to 0, metadata is passes\&.
+T}
+T{
+2:0
+T}:T{
+PRCHK: Protection Information Check:
+T}
+T{
+2
+T}:T{
+Set to 1 enables checking the guard tag
+T}
+T{
+1
+T}:T{
+Set to 1 enables checking the application tag
+T}
+T{
+0
+T}:T{
+Set to 1 enables checking the reference tag
+T}
+.TE
+.sp 1
+.RE
+.PP
+\-\-ref\-tag=<reftag>, \-r <reftag>
+.RS 4
+Optional reftag when used with protection information\&.
+.RE
+.PP
+\-\-app\-tag\-mask=<appmask>, \-m <appmask>
+.RS 4
+Optional application tag mask when used with protection information\&.
+.RE
+.PP
+\-\-app\-tag=<apptag>, \-a <apptag>
+.RS 4
+Optional application tag when used with protection information\&.
+.RE
+.PP
+\-\-limited\-retry, \-l
+.RS 4
+Sets the limited retry flag\&.
+.RE
+.PP
+\-\-force\-unit\-access, \-f
+.RS 4
+Set the force\-unit access flag\&.
+.RE
+.PP
+\-\-namespace\-id=<nsid>, \-n <nsid>
+.RS 4
+Namespace ID use in the command\&.
+.RE
 .sp
+EXAMPLES EXAMPLES
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
 No examples yet\&.
-.SH "NVME"
+
+NVME
+.fi
+.if n \{\
+.RE
+.\}
 .sp
 Part of the nvme\-user suite
index 5c2dbd909d3ae0c4e06ca77637fb74ade75f3371..b83fc1c3f19f01855ff92a30a66d12228c177f75 100644 (file)
@@ -3,7 +3,7 @@
 <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.7" />\r
+<meta name="generator" content="AsciiDoc 8.6.8" />\r
 <title>nvme-zeroes(1)</title>\r
 <style type="text/css">\r
 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
@@ -87,11 +87,15 @@ ul, ol, li > p {
 ul > li     { color: #aaa; }\r
 ul > li > * { color: black; }\r
 \r
-pre {\r
+.monospaced, code, pre {\r
+  font-family: "Courier New", Courier, monospace;\r
+  font-size: inherit;\r
+  color: navy;\r
   padding: 0;\r
   margin: 0;\r
 }\r
 \r
+\r
 #author {\r
   color: #527bbd;\r
   font-weight: bold;\r
@@ -415,12 +419,6 @@ div.unbreakable { page-break-inside: avoid; }
  *\r
  * */\r
 \r
-tt {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 div.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -454,12 +452,6 @@ div.tableblock > table[frame="vsides"] {
  *\r
  * */\r
 \r
-.monospaced {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 table.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -539,6 +531,8 @@ body.manpage div.sectionbody {
 @media print {\r
   body.manpage div#toc { display: none; }\r
 }\r
+\r
+\r
 </style>\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
@@ -786,18 +780,140 @@ nvme-zeroes(1) Manual Page
         Start block.\r
 </p>\r
 </dd>\r
-</dl></div>\r
-</div>\r
-</div>\r
-<div class="sect1">\r
-<h2 id="_examples">EXAMPLES</h2>\r
-<div class="sectionbody">\r
-<div class="paragraph"><p>No examples yet.</p></div>\r
-</div>\r
+<dt class="hdlist1">\r
+--block-count=&lt;nlb&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-c &lt;nlb&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Number of logical blocks to write zeroes.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--prinfo=&lt;prinfo&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-p &lt;prinfo&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Protection Information field defintion.\r
+</p>\r
+<div class="tableblock">\r
+<table rules="all"\r
+width="100%"\r
+frame="border"\r
+cellspacing="0" cellpadding="4">\r
+<col width="50%" />\r
+<col width="50%" />\r
+<tbody>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">Bit</p></td>\r
+<td align="left" valign="top"><p class="table">Description</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">3</p></td>\r
+<td align="left" valign="top"><p class="table">PRACT: Protection Information Action. When set to 1, PI is stripped/inserted\r
+on read/write when the block format&#8217;s metadata size is 8. When set to 0,\r
+metadata is passes.</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">2:0</p></td>\r
+<td align="left" valign="top"><p class="table">PRCHK: Protection Information Check:</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">2</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the guard tag</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">1</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the application tag</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">0</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the reference tag</p></td>\r
+</tr>\r
+</tbody>\r
+</table>\r
 </div>\r
-<div class="sect1">\r
-<h2 id="_nvme">NVME</h2>\r
-<div class="sectionbody">\r
+</dd>\r
+<dt class="hdlist1">\r
+--ref-tag=&lt;reftag&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-r &lt;reftag&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional reftag when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--app-tag-mask=&lt;appmask&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-m &lt;appmask&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional application tag mask when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--app-tag=&lt;apptag&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-a &lt;apptag&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional application tag when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--limited-retry\r
+</dt>\r
+<dt class="hdlist1">\r
+-l\r
+</dt>\r
+<dd>\r
+<p>\r
+        Sets the limited retry flag.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--force-unit-access\r
+</dt>\r
+<dt class="hdlist1">\r
+-f\r
+</dt>\r
+<dd>\r
+<p>\r
+        Set the force-unit access flag.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--namespace-id=&lt;nsid&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-n &lt;nsid&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Namespace ID use in the command.\r
+</p>\r
+</dd>\r
+</dl></div>\r
+<div class="paragraph"><p>EXAMPLES\r
+EXAMPLES</p></div>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><code>No examples yet.\r
+\r
+NVME</code></pre>\r
+</div></div>\r
 <div class="paragraph"><p>Part of the nvme-user suite</p></div>\r
 </div>\r
 </div>\r
@@ -805,7 +921,7 @@ nvme-zeroes(1) Manual Page
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2016-03-02 08:24:55 MST\r
+Last updated 2016-11-15 18:10:54 EST\r
 </div>\r
 </div>\r
 </body>\r
index 181cfc51b437627c8b4ba4eb7670941e8845168f..2d383b47fd17d48d3f735f4b3048ad2882924baa 100644 (file)
@@ -28,6 +28,51 @@ OPTIONS
 -s <slba>::
        Start block.
 
+--block-count=<nlb>::
+-c <nlb>::
+       Number of logical blocks to write zeroes.
+
+--prinfo=<prinfo>::
+-p <prinfo>::
+       Protection Information field defintion.
++
+[]
+|=================
+|Bit|Description
+|3|PRACT: Protection Information Action. When set to 1, PI is stripped/inserted
+on read/write when the block format's metadata size is 8. When set to 0,
+metadata is passes.
+|2:0|PRCHK: Protection Information Check:
+|2|Set to 1 enables checking the guard tag
+|1|Set to 1 enables checking the application tag
+|0|Set to 1 enables checking the reference tag
+|=================
+
+--ref-tag=<reftag>::
+-r <reftag>::
+       Optional reftag when used with protection information.
+
+--app-tag-mask=<appmask>::
+-m <appmask>::
+       Optional application tag mask when used with protection information.
+
+--app-tag=<apptag>::
+-a <apptag>::
+       Optional application tag when used with protection information.
+
+--limited-retry::
+-l::
+       Sets the limited retry flag.
+
+--force-unit-access::
+-f::
+       Set the force-unit access flag.
+
+--namespace-id=<nsid>::
+-n <nsid>::
+       Namespace ID use in the command.
+
+EXAMPLES
 EXAMPLES
 --------
 No examples yet.
index 662a5f26b73c8085b7ce738bc490ca91b3bf5875..5aeeee36a9895faa82bbc41c358b043352e71f6a 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: nvme-write
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 10/21/2016
+.\"      Date: 11/15/2016
 .\"    Manual: NVMe Manual
 .\"    Source: NVMe
 .\"  Language: English
 .\"
-.TH "NVME\-WRITE" "1" "10/21/2016" "NVMe" "NVMe Manual"
+.TH "NVME\-WRITE" "1" "11/15/2016" "NVMe" "NVMe Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -36,10 +36,10 @@ nvme-write \- Send an NVMe write command, provide results
                         [\-\-block\-count=<nlb> | \-c <nlb>]
                         [\-\-data\-size=<size> | \-z <size>]
                         [\-\-metadata\-size=<size> | \-y <size>]
-                        [\-\-ref\-tag=<reftag> | \-r <reftag>]
                         [\-\-data=<data\-file> | \-d <data\-file>]
                         [\-\-metadata=<metadata\-file> | \-M <metadata\-file>]
                         [\-\-prinfo=<prinfo> | \-p <prinfo>]
+                        [\-\-ref\-tag=<reftag> | \-r <reftag>]
                         [\-\-app\-tag\-mask=<appmask> | \-m <appmask>]
                         [\-\-app\-tag=<apptag> | \-a <apptag>]
                         [\-\-limited\-retry | \-l]
@@ -61,6 +61,101 @@ Start block\&.
 The number of blocks to transfer\&. This is a zeroes based value to align with the kernel\(cqs use of this field\&. (ie\&. 0 means transfer 1 block)\&.
 .RE
 .PP
+\-\-block\-count=<nlb>, \-c <nlb>
+.RS 4
+Number of logical blocks to write\&.
+.RE
+.PP
+\-\-data\-size=<size>, \-z <size>
+.RS 4
+Size of data, in bytes\&.
+.RE
+.PP
+\-\-metadata\-size=<size>, \-y <size>
+.RS 4
+Size of metadata in bytes\&.
+.RE
+.PP
+\-\-data=<data\-file>, \-d <data\-file>
+.RS 4
+Data file\&. If none provided, contents are sent from STDIN\&.
+.RE
+.PP
+\-\-metadata=<metadata\-file>, \-M <metadata\-file>
+.RS 4
+Metadata file, if necessary\&.
+.RE
+.PP
+\-\-prinfo=<prinfo>, \-p <prinfo>
+.RS 4
+Protection Information field defintion\&.
+.TS
+allbox tab(:);
+lt lt
+lt lt
+lt lt
+lt lt
+lt lt
+lt lt.
+T{
+Bit
+T}:T{
+Description
+T}
+T{
+3
+T}:T{
+PRACT: Protection Information Action\&. When set to 1, PI is stripped/inserted on read/write when the block format\(cqs metadata size is 8\&. When set to 0, metadata is passes\&.
+T}
+T{
+2:0
+T}:T{
+PRCHK: Protection Information Check:
+T}
+T{
+2
+T}:T{
+Set to 1 enables checking the guard tag
+T}
+T{
+1
+T}:T{
+Set to 1 enables checking the application tag
+T}
+T{
+0
+T}:T{
+Set to 1 enables checking the reference tag
+T}
+.TE
+.sp 1
+.RE
+.PP
+\-\-ref\-tag=<reftag>, \-r <reftag>
+.RS 4
+Optional reftag when used with protection information\&.
+.RE
+.PP
+\-\-app\-tag\-mask=<appmask>, \-m <appmask>
+.RS 4
+Optional application tag mask when used with protection information\&.
+.RE
+.PP
+\-\-app\-tag=<apptag>, \-a <apptag>
+.RS 4
+Optional application tag when used with protection information\&.
+.RE
+.PP
+\-\-limited\-retry, \-l
+.RS 4
+Sets the limited retry flag\&.
+.RE
+.PP
+\-\-force\-unit\-access, \-f
+.RS 4
+Set the force\-unit access flag\&.
+.RE
+.PP
 \-\-latency, \-t
 .RS 4
 Print out the latency the IOCTL took (in us)\&.
index 9797f98d587f2daf2b786f56999ed47bf2e8816a..f3e4e5cedb1af9b61aac298708131ecd992e1dea 100644 (file)
@@ -3,7 +3,7 @@
 <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.7" />\r
+<meta name="generator" content="AsciiDoc 8.6.8" />\r
 <title>nvme-write(1)</title>\r
 <style type="text/css">\r
 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
@@ -87,11 +87,15 @@ ul, ol, li > p {
 ul > li     { color: #aaa; }\r
 ul > li > * { color: black; }\r
 \r
-pre {\r
+.monospaced, code, pre {\r
+  font-family: "Courier New", Courier, monospace;\r
+  font-size: inherit;\r
+  color: navy;\r
   padding: 0;\r
   margin: 0;\r
 }\r
 \r
+\r
 #author {\r
   color: #527bbd;\r
   font-weight: bold;\r
@@ -415,12 +419,6 @@ div.unbreakable { page-break-inside: avoid; }
  *\r
  * */\r
 \r
-tt {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 div.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -454,12 +452,6 @@ div.tableblock > table[frame="vsides"] {
  *\r
  * */\r
 \r
-.monospaced {\r
-  font-family: "Courier New", Courier, monospace;\r
-  font-size: inherit;\r
-  color: navy;\r
-}\r
-\r
 table.tableblock {\r
   margin-top: 1.0em;\r
   margin-bottom: 1.5em;\r
@@ -539,6 +531,8 @@ body.manpage div.sectionbody {
 @media print {\r
   body.manpage div#toc { display: none; }\r
 }\r
+\r
+\r
 </style>\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
@@ -756,10 +750,10 @@ nvme-write(1) Manual Page
                         [--block-count=&lt;nlb&gt; | -c &lt;nlb&gt;]\r
                         [--data-size=&lt;size&gt; | -z &lt;size&gt;]\r
                         [--metadata-size=&lt;size&gt; | -y &lt;size&gt;]\r
-                        [--ref-tag=&lt;reftag&gt; | -r &lt;reftag&gt;]\r
                         [--data=&lt;data-file&gt; | -d &lt;data-file&gt;]\r
                         [--metadata=&lt;metadata-file&gt; | -M &lt;metadata-file&gt;]\r
                         [--prinfo=&lt;prinfo&gt; | -p &lt;prinfo&gt;]\r
+                        [--ref-tag=&lt;reftag&gt; | -r &lt;reftag&gt;]\r
                         [--app-tag-mask=&lt;appmask&gt; | -m &lt;appmask&gt;]\r
                         [--app-tag=&lt;apptag&gt; | -a &lt;apptag&gt;]\r
                         [--limited-retry | -l]\r
@@ -806,6 +800,164 @@ if you don&#8217;t provide a file.</p></div>
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+--block-count=&lt;nlb&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-c &lt;nlb&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Number of logical blocks to write.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--data-size=&lt;size&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-z &lt;size&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Size of data, in bytes.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--metadata-size=&lt;size&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-y &lt;size&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Size of metadata in bytes.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--data=&lt;data-file&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-d &lt;data-file&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Data file. If none provided, contents are sent from STDIN.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--metadata=&lt;metadata-file&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-M &lt;metadata-file&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Metadata file, if necessary.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--prinfo=&lt;prinfo&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-p &lt;prinfo&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Protection Information field defintion.\r
+</p>\r
+<div class="tableblock">\r
+<table rules="all"\r
+width="100%"\r
+frame="border"\r
+cellspacing="0" cellpadding="4">\r
+<col width="50%" />\r
+<col width="50%" />\r
+<tbody>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">Bit</p></td>\r
+<td align="left" valign="top"><p class="table">Description</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">3</p></td>\r
+<td align="left" valign="top"><p class="table">PRACT: Protection Information Action. When set to 1, PI is stripped/inserted\r
+on read/write when the block format&#8217;s metadata size is 8. When set to 0,\r
+metadata is passes.</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">2:0</p></td>\r
+<td align="left" valign="top"><p class="table">PRCHK: Protection Information Check:</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">2</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the guard tag</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">1</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the application tag</p></td>\r
+</tr>\r
+<tr>\r
+<td align="left" valign="top"><p class="table">0</p></td>\r
+<td align="left" valign="top"><p class="table">Set to 1 enables checking the reference tag</p></td>\r
+</tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+</dd>\r
+<dt class="hdlist1">\r
+--ref-tag=&lt;reftag&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-r &lt;reftag&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional reftag when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--app-tag-mask=&lt;appmask&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-m &lt;appmask&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional application tag mask when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--app-tag=&lt;apptag&gt;\r
+</dt>\r
+<dt class="hdlist1">\r
+-a &lt;apptag&gt;\r
+</dt>\r
+<dd>\r
+<p>\r
+        Optional application tag when used with protection information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--limited-retry\r
+</dt>\r
+<dt class="hdlist1">\r
+-l\r
+</dt>\r
+<dd>\r
+<p>\r
+        Sets the limited retry flag.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+--force-unit-access\r
+</dt>\r
+<dt class="hdlist1">\r
+-f\r
+</dt>\r
+<dd>\r
+<p>\r
+        Set the force-unit access flag.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 --latency\r
 </dt>\r
 <dt class="hdlist1">\r
@@ -835,7 +987,7 @@ if you don&#8217;t provide a file.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2016-08-05 14:45:10 MDT\r
+Last updated 2016-11-15 18:08:07 EST\r
 </div>\r
 </div>\r
 </body>\r
index 2af90998bbf8fab19d47cf934e5c060e08a911ae..d128c79d55a8924ccb1111fb2afd8df9f3afffc5 100644 (file)
@@ -12,10 +12,10 @@ SYNOPSIS
                        [--block-count=<nlb> | -c <nlb>]
                        [--data-size=<size> | -z <size>]
                        [--metadata-size=<size> | -y <size>]
-                       [--ref-tag=<reftag> | -r <reftag>]
                        [--data=<data-file> | -d <data-file>]
                        [--metadata=<metadata-file> | -M <metadata-file>]
                        [--prinfo=<prinfo> | -p <prinfo>]
+                       [--ref-tag=<reftag> | -r <reftag>]
                        [--app-tag-mask=<appmask> | -m <appmask>]
                        [--app-tag=<apptag> | -a <apptag>]
                        [--limited-retry | -l]
@@ -40,6 +40,62 @@ OPTIONS
        align with the kernel's use of this field. (ie. 0 means transfer
        1 block).
 
+--block-count=<nlb>::
+-c <nlb>::
+       Number of logical blocks to write.
+
+--data-size=<size>::
+-z <size>::
+       Size of data, in bytes.
+
+--metadata-size=<size>::
+-y <size>::
+       Size of metadata in bytes.
+
+--data=<data-file>::
+-d <data-file>::
+       Data file. If none provided, contents are sent from STDIN.
+
+--metadata=<metadata-file>::
+-M <metadata-file>::
+       Metadata file, if necessary.
+
+--prinfo=<prinfo>::
+-p <prinfo>::
+       Protection Information field defintion.
++
+[]
+|=================
+|Bit|Description
+|3|PRACT: Protection Information Action. When set to 1, PI is stripped/inserted
+on read/write when the block format's metadata size is 8. When set to 0,
+metadata is passes.
+|2:0|PRCHK: Protection Information Check:
+|2|Set to 1 enables checking the guard tag
+|1|Set to 1 enables checking the application tag
+|0|Set to 1 enables checking the reference tag
+|=================
+
+--ref-tag=<reftag>::
+-r <reftag>::
+       Optional reftag when used with protection information.
+
+--app-tag-mask=<appmask>::
+-m <appmask>::
+       Optional application tag mask when used with protection information.
+
+--app-tag=<apptag>::
+-a <apptag>::
+       Optional application tag when used with protection information.
+
+--limited-retry::
+-l::
+       Sets the limited retry flag.
+
+--force-unit-access::
+-f::
+       Set the force-unit access flag.
+
 --latency::
 -t::
        Print out the latency the IOCTL took (in us).