| 1 |
.TH "nvme_mi_admin_get_log_device_self_test" 9 "nvme_mi_admin_get_log_device_self_test" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_get_log_device_self_test \- Retrieve the device self test log |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_get_log_device_self_test |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "struct nvme_self_test_log *log " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "ctrl" 12 |
| 10 |
Controller to query |
| 11 |
.IP "log" 12 |
| 12 |
Userspace address of the log payload |
| 13 |
.SH "DESCRIPTION" |
| 14 |
The log page indicates the status of an in progress self test and the |
| 15 |
percent complete of that operation, and the results of the previous 20 |
| 16 |
self-test operations. |
| 17 |
.SH "RETURN" |
| 18 |
The nvme command status if a response was received (see |
| 19 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |