1nvme_get_log_error(9) libnvme API manual nvme_get_log_error(9)
2
3
4
6 nvme_get_log_error - Retrieve nvme error log
7
9 int nvme_get_log_error (int fd , unsigned int nr_entries , bool rae ,
10 struct nvme_error_log_page *err_log );
11
13 fd File descriptor of nvme device
14
15 nr_entries Number of error log entries allocated
16
17 rae Retain asynchronous events
18
19 err_log Array of error logs of size 'entries'
20
22 This log page describes extended error information for a command that
23 completed with error, or may report an error that is not specific to a
24 particular command.
25
27 The nvme command status if a response was received (see enum nvme_sta‐
28 tus_field) or -1 with errno set otherwise.
29
30
31
32April 2023 nvme_get_log_error nvme_get_log_error(9)