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

nvme_mi_admin_get_log_sanitize - Retrieve Sanitize Status

int nvme_mi_admin_get_log_sanitize (nvme_mi_ctrl_t ctrl , bool rae , struct nvme_sanitize_log_page *log );

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

The Sanitize Status log page reports sanitize operation time estimates and information about the most recent sanitize operation.

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_sanitize January 2023