]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
documentation: Add doc files for new wdc plugin commands
authorJeff Lien <jeff.lien@wdc.com>
Wed, 30 Mar 2022 18:02:10 +0000 (13:02 -0500)
committerJeff Lien <jeff.lien@wdc.com>
Fri, 1 Apr 2022 18:00:02 +0000 (13:00 -0500)
Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
Documentation/meson.build
Documentation/nvme-wdc-get-dev-capabilities-log.txt [new file with mode: 0644]
Documentation/nvme-wdc-get-error-recovery-log.txt [new file with mode: 0644]
Documentation/nvme-wdc-get-unsupported-reqs-log.txt [new file with mode: 0644]

index 749d002232b8d8c6fc9fb571d178a7b11626e1e7..c01600739b3fb4e0e03c727a1e54317722c8f914 100644 (file)
@@ -118,9 +118,12 @@ adoc_sources = [
   'nvme-wdc-drive-resize',
   'nvme-wdc-enc-get-log',
   'nvme-wdc-get-crash-dump',
+  'nvme-wdc-get-dev-capabilities-log',
   'nvme-wdc-get-drive-status',
+  'nvme-wdc-get-error-recovery-log',
   'nvme-wdc-get-latency-monitor-log',
   'nvme-wdc-get-pfail-dump',
+  'nvme-wdc-get-unsupported-reqs-log',
   'nvme-wdc-id-ctrl',
   'nvme-wdc-log-page-directory',
   'nvme-wdc-namespace-resize',
diff --git a/Documentation/nvme-wdc-get-dev-capabilities-log.txt b/Documentation/nvme-wdc-get-dev-capabilities-log.txt
new file mode 100644 (file)
index 0000000..0621881
--- /dev/null
@@ -0,0 +1,48 @@
+nvme-wdc-get-dev-capabilities-log(1)
+====================================
+
+NAME
+----
+nvme-wdc-get-dev-capabilities-log - Send NVMe WDC get-dev-capabilities-log 
+                                                                       plugin command, return parsed log output
+
+SYNOPSIS
+--------
+[verse]
+'nvme wdc get-dev-capabilities-log' <device> [--output-format=<normal|json> 
+-o <normal|json>]
+
+DESCRIPTION
+-----------
+For the NVMe device given, send a WDC plugin get-dev-capabilities-log command
+and output the device capabilities log data. The --output-format option will 
+format the output as specified.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0).
+
+This will only work on WDC devices supporting this log page.
+Results for any other device are undefined.
+
+On success it returns the parsed device capabilities log page data, error
+code otherwise.
+
+OPTIONS
+-------
+-o <format>::
+--output-format=<format>::
+       Set the reporting format to 'normal', or
+       'json'. Only one output format can be used at a time.
+       Default is normal.
+
+EXAMPLES
+--------
+* Has the program issue WDC get-dev-capabilities-log plugin command :
++
+------------
+# nvme wdc get-dev-capabilities-log /dev/nvme0
+------------
+
+NVME
+----
+Part of the nvme-user suite.
diff --git a/Documentation/nvme-wdc-get-error-recovery-log.txt b/Documentation/nvme-wdc-get-error-recovery-log.txt
new file mode 100644 (file)
index 0000000..2ad3605
--- /dev/null
@@ -0,0 +1,48 @@
+nvme-wdc-get-error-recovery-log(1)
+==================================
+
+NAME
+----
+nvme-wdc-get-error-recovery-log - Send NVMe WDC get-error-recovery-log plugin 
+                                                                 command, return parsed log output
+
+SYNOPSIS
+--------
+[verse]
+'nvme wdc get-error-recovery-log' <device> [--output-format=<normal|json> 
+-o <normal|json>]
+
+DESCRIPTION
+-----------
+For the NVMe device given, send a WDC plugin get-error-recovery-log command 
+and output the error recovery log data. The --output-format option will format
+the output as specified.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0).
+
+This will only work on WDC devices supporting this log page.
+Results for any other device are undefined.
+
+On success it returns the parsed error recovery log page data, error 
+code otherwise.
+
+OPTIONS
+-------
+-o <format>::
+--output-format=<format>::
+       Set the reporting format to 'normal', or
+       'json'. Only one output format can be used at a time.
+       Default is normal.
+
+EXAMPLES
+--------
+* Has the program issue WDC get-error-recovery-log plugin command :
++
+------------
+# nvme wdc get-error-recovery-log /dev/nvme0
+------------
+
+NVME
+----
+Part of the nvme-user suite.
diff --git a/Documentation/nvme-wdc-get-unsupported-reqs-log.txt b/Documentation/nvme-wdc-get-unsupported-reqs-log.txt
new file mode 100644 (file)
index 0000000..f028665
--- /dev/null
@@ -0,0 +1,48 @@
+nvme-wdc-get-unsupported-reqs-log(1)
+====================================
+
+NAME
+----
+nvme-wdc-get-unsupported-reqs-log - Send NVMe WDC get-unsupported-reqs-log 
+                                                                       plugin command, return parsed log output
+
+SYNOPSIS
+--------
+[verse]
+'nvme wdc get-unsupported-reqs-log' <device> [--output-format=<normal|json> 
+-o <normal|json>]
+
+DESCRIPTION
+-----------
+For the NVMe device given, send a WDC plugin get-unsupported-reqs-log command 
+and output the unsupported requirements log data. The --output-format option 
+will format the output as specified.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0).
+
+This will only work on WDC devices supporting this log page.
+Results for any other device are undefined.
+
+On success it returns the parsed unsupported requirements log page data, error
+code otherwise.
+
+OPTIONS
+-------
+-o <format>::
+--output-format=<format>::
+       Set the reporting format to 'normal', or
+       'json'. Only one output format can be used at a time.
+       Default is normal.
+
+EXAMPLES
+--------
+* Has the program issue WDC get-unsupported-reqs-log plugin command :
++
+------------
+# nvme wdc get-unsupported-reqs-log /dev/nvme0
+------------
+
+NVME
+----
+Part of the nvme-user suite.