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

nvme_resv_report - Send an nvme reservation report

int nvme_resv_report (struct nvme_resv_report_args *args );

struct nvme_resv_report_args argument structure

Returns a Reservation Status data structure to memory that describes the registration and reservation status of a namespace. See the definition for the returned structure, struct nvme_reservation_status, for more details.

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

nvme_resv_report January 2023