summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-device-self-test.txt
diff options
context:
space:
mode:
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
--------