summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_log_device_self_test.2
blob: 148ba00a3bb305752074f11035f30bf587c1dcb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.TH "nvme_get_log_device_self_test" 9 "nvme_get_log_device_self_test" "July 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.