NVME_GET_LOG_REACHABILITY_GROUPS(2)
π NAME π
nvme_get_log_reachability_groups β bestie, this one grabs the Reachability Groups Log for you π«Ά
So like. It's a libnvme API situation, and it's here to fetch that log page. That's the whole vibe. β¨
πΈ SYNOPSIS πΈ
int nvme_get_log_reachability_groups (int fd , bool rgo , bool rae ,
__u32 len , struct nvme_reachability_groups_log *log );
π ARGUMENTS π
fdβ the file descriptor of your nvme device, aka the little handle that says "yes, this drive, right here" πrgoβ "Return groups only". When you want just the groups and nothing else, this is your girl β¨raeβ "Retain asynchronous events". Keeps those async events held onto, no cap π¦lenβ the allocated length of the log page. You gotta tell it how much room you set aside, bestie πlogβ user address to store the log page. This is where the good stuff lands π
β RETURN β
Okay so here's what comes back at you:
- the nvme command status if a response was received (peep
enum nvme_status_fieldfor the deets) π - or
-1witherrnoset, if it didn't go that way π
like, if you see-1, check yourerrnoimmediately. she's trying to tell you something fr fr π
and that's the whole page, you ate that π
July 2026 energy, brought to you by the libnvme API manual girlies β nvme_get_log_reachability_groups, section 2, periodt. ππ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms