summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-device-self-test.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-31 04:13:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-31 04:13:00 +0000
commitdc3f3471f8a00ce0c8fb4cbf2a31e299696f3bbc (patch)
treee97b4f25c511372d73bdd96c389c5f468d99138a /Documentation/nvme-device-self-test.txt
parentAdding upstream version 2.2.1. (diff)
downloadnvme-cli-dc3f3471f8a00ce0c8fb4cbf2a31e299696f3bbc.tar.xz
nvme-cli-dc3f3471f8a00ce0c8fb4cbf2a31e299696f3bbc.zip
Adding upstream version 2.3.upstream/2.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/nvme-device-self-test.txt')
-rw-r--r--Documentation/nvme-device-self-test.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/Documentation/nvme-device-self-test.txt b/Documentation/nvme-device-self-test.txt
index 62bba88..d098277 100644
--- a/Documentation/nvme-device-self-test.txt
+++ b/Documentation/nvme-device-self-test.txt
@@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'nvme device-self-test' <device> [--namespace-id=<NUM> | -n <NUM>]
- [--self-test-code=<NUM> | -s <NUM>]
+ [--self-test-code=<NUM> | -s <NUM>] [--wait | -w]
DESCRIPTION
-----------
@@ -28,12 +28,19 @@ OPTIONS
-s <NUM>::
--self-test-code=<NUM>::
- This field specifies the action taken by the device self-test command :
+ This field specifies the action taken by the device self-test command :
+ 0h: Show current state of device self-test operation
1h: Start a short device self-test operation
2h: Start a extended device self-test operation
eh: Start a vendor specific device self-test operation
- fh: abort the device self-test operation
-
+ fh: Abort the device self-test operation
+ Default is 0h.
+
+-w::
+--wait::
+ Wait for the device self test to complete before exiting
+ The device self-test is aborted by SIGINT signal interrupt for the wait
+ The option is ignored if the abort self-test code option specified.
EXAMPLES
--------