nvme_get_log_changed_ns_list - Man Page
Retrieve namespace changed list
int nvme_get_log_changed_ns_list (int fd , bool rae , struct nvme_ns_list *ns_log );
File descriptor of nvme device
Retain asynchronous events
User address to store the log page
This log page describes namespaces attached to this controller that have changed since the last time the namespace was identified, been added, or deleted.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
April 2023 libnvme API manual