nvme_mi_admin_get_log_rotational_media_info

Retrieve Rotational Media Information Log

Synopsis

int nvme_mi_admin_get_log_rotational_media_info (nvme_mi_ctrl_t ctrl , __u16 endgid , __u32 len , struct nvme_rotational_media_info_log *log );

Arguments

ctrl

Controller to query

endgid

Endurance Group Identifier

len

The allocated length of the log page

log

User address to store the log page

Return

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

Info

March 2025 libnvme API manual