summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_log_device_self_test.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_get_log_device_self_test.2')
-rw-r--r--doc/man/nvme_get_log_device_self_test.219
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/man/nvme_get_log_device_self_test.2 b/doc/man/nvme_get_log_device_self_test.2
new file mode 100644
index 0000000..262e223
--- /dev/null
+++ b/doc/man/nvme_get_log_device_self_test.2
@@ -0,0 +1,19 @@
+.TH "nvme_get_log_device_self_test" 9 "nvme_get_log_device_self_test" "April 2022" "libnvme API manual" LINUX
+.SH NAME
+nvme_get_log_device_self_test \- Retrieve the device self test log
+.SH SYNOPSIS
+.B "int" nvme_get_log_device_self_test
+.BI "(int fd " ","
+.BI "struct nvme_self_test_log *log " ");"
+.SH ARGUMENTS
+.IP "fd" 12
+File descriptor of nvme device
+.IP "log" 12
+Userspace address of the log payload
+.SH "DESCRIPTION"
+The log page indicates the status of an in progress self test and the
+percent complete of that operation, and the results of the previous 20
+self-test operations.
+.SH "RETURN"
+The nvme command status if a response was received (see
+\fIenum nvme_status_field\fP) or -1 with errno set otherwise.