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

nvme_mi_admin_get_log_reservation - Retrieve Reservation Notification

int nvme_mi_admin_get_log_reservation (nvme_mi_ctrl_t ctrl , bool rae , struct nvme_resv_notification_log *log );

Controller to query
Retain asynchronous events
User address to store the reservation log

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

nvme_mi_admin_get_log_reservation January 2023