Scroll to navigation

nvme_get_log_error(2) libnvme API manual nvme_get_log_error(2)

NAME

nvme_get_log_error - Retrieve nvme error log

SYNOPSIS

int nvme_get_log_error (int fd , unsigned int nr_entries , bool rae , struct nvme_error_log_page *err_log );

ARGUMENTS

File descriptor of nvme device
Number of error log entries allocated
Retain asynchronous events
Array of error logs of size 'entries'

DESCRIPTION

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.

nvme_get_log_error February 2024