NVME_MI_ADMIN_GET_LOG_ANA_GROUPS(2)

πŸ’– nvme_mi_admin_get_log_ana_groups(2) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about a little function from the libnvme API manual that's lowkey iconic: nvme_mi_admin_get_log_ana_groups. she's niche, she's specific, and she gets you your Asymmetric Namespace Access groups log page and nothing but that page. main character energy fr fr πŸŽ€


✨ NAME ✨

nvme_mi_admin_get_log_ana_groups β€” Retrieve Asymmetric Namespace Access groups only log page


πŸ¦‹ SYNOPSIS πŸ¦‹

int nvme_mi_admin_get_log_ana_groups (nvme_mi_ctrl_t ctrl , bool rae ,
__u32 len , struct nvme_ana_group_desc *log );

🌸 ARGUMENTS 🌸

  • ctrl β€” the Controller to query πŸ’œ this is your girl, the one we're asking questions
  • rae β€” Retain asynchronous events, bestie. say yes and the events stay, no cap
  • len β€” The allocated length of the log page. like, how much space did you budget for this log page
  • log β€” User address to store the ana group log. yes queen, tell her where to drop the goods

πŸ’… DESCRIPTION πŸ’…

See struct nvme_ana_group_desc for the definition of the returned structure. that's the whole thing β€” the struct is the moment, the struct is doing the talking πŸ“–βœ¨


⭐ RETURN ⭐

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

so like, if she answered you back you get a status, and if she ghosted you it's a -1 with errno set. it's giving consequences 😭

and that's the tea, bestie πŸ“ go retrieve those ANA groups, slay responsibly, and remember: you're doing amazing sweetie πŸ’–βœ¨πŸ¦‹

from the libnvme API manual, July 2026 edition β€” mwah, see you in the next one πŸ‘‘πŸ«Ά

πŸ“¦ where this page comes from