nvme_mi_adm...ility_groups(2)
β¨ nvme_mi_adm...ility_groups(2) β¨
okay bestie, come sit with me π this is a page from the libnvme API manual, and yes the title is genuinely truncated like that, nvme_mi_adm...ility_groups(2), because the real function name is a whole mouthful and the man page formatter gave up halfway. iconic behaviour tbh. we're talking about nvme_mi_admin_get_log_reachability_groups here π¦
πΈ NAME πΈ
nvme_mi_admin_get_log_reachability_groups β Retrieve Reachability Groups Log π
like, it goes and grabs the log page that tells you about reachability groups. that's the whole serve. periodt.
π SYNOPSIS π
int nvme_mi_admin_get_log_reachability_groups (nvme_mi_ctrl_t ctrl ,
bool rgo , bool rae , __u32 len , struct nvme_reachability_groups_log
*log );
she's a int return, she takes five lil friends, and she does not text back. no cap. π
π«Ά ARGUMENTS π«Ά
the five besties she needs before she'll even consider doing anything:
ctrlβ Controller to query. this is the controller you want the tea from, the main character of the operation πrgoβ Return groups only. abool, so it's just a yes-or-no vibe check: groups only, orβ¦ more than groups only πraeβ Retain asynchronous events. anotherbool. flip it on if you want those async events kept around instead of cleared β¨lenβ The allocated length of the log page. a__u32, so she wants to know exactly how much room you've given her to write into. give her the real number, don't guess, fr fr πlogβ User address to store the log page. a pointer to astruct nvme_reachability_groups_log, i.e. where the log page is gonna land when it comes home π‘
β RETURN β
The nvme command status if a response was received (seeenum nvme_status_field) or-1witherrnoset otherwise
so basically: if the controller answered you, you get back the nvme command status β go look it up in enum nvme_status_field, that's where all the lore lives π β and if it did not answer, you get a big fat -1 and errno gets set so you can find out why. she's not being mysterious, she's just following protocol π
and that's the whole page bestie! you ate this π no notes, 10/10, the reachability groups are reached β¨
that was nvme_mi_adm...ility_groups(2) from the libnvme API manual, dated July 2026, and in the footer she signs off as nvme_mi_admin_get_log_reachabil... because even the footer ran out of room ππ«Ά slay, goodbye, go query a controller ππ¦πΈ
π¦ 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