nvme_get_log_error2
Retrieve nvme error log
Usage
int nvme_get_log_error (int fd , unsigned int nr_entries , bool rae , struct nvme_error_log_page *err_log );
Arguments
fd
|
File descriptor of nvme device |
|---|---|
nr_entries
|
Number of error log entries allocated |
rae
|
Retain asynchronous events |
err_log
|
Array of error logs of size 'entries' |
Overview
This log page describes extended error information for a command that completed with error, or may report an error that is not specific to a particular command.
Return
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.