DOKK / manpages / debian 12 / libnvme-dev / nvme_get_lba_status_log.2.en
nvme_get_lba_status_log(2) libnvme API manual nvme_get_lba_status_log(2)

nvme_get_lba_status_log - Retrieve the LBA Status log page

int nvme_get_lba_status_log (int fd , bool rae , struct nvme_lba_status_log **log );

File descriptor of the nvme device
Retain asynchronous events
On success, set to the value of the allocated and retrieved log.

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_get_lba_status_log January 2023