nvme_get_log_device_self_test
Retrieve the device self test log
- Provided by: libnvme-dev (Version: 1.16.1-4)
- Source: libnvme
- Report a bug
Retrieve the device self test log
int nvme_get_log_device_self_test (int fd , struct nvme_self_test_log *log );
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.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.