nvme_mi_adm...urance_group(2)
π nvme_mi_admin_get_log_endurance_group β from the nvme_mi_adm...urance_group(2) page in the libnvme API manual
okay bestie, gather round, because we're talking about getting the Endurance Group log and honestly?? it's giving detective work. πβ¨
πΈ NAME πΈ
nvme_mi_admin_get_log_endurance_group β Get Endurance Group log
π SYNOPSIS π
int nvme_mi_admin_get_log_endurance_group (nvme_mi_ctrl_t ctrl , __u16
endgid , struct nvme_endurance_group_log *log );
β¨ ARGUMENTS β¨
ctrlβ the Controller you're querying. your main character, the one we interrogate πendgidβ the Starting group identifier to return in the list. like, where do we start scrolling, bestielogβ User address to store the endurance log. this is the lil container where the tea gets poured π«
π¦ DESCRIPTION π¦
so this log page? it tells you if an Endurance Group Event has occurred for a particular Endurance Group. that's it. that's the vibe check.
and if an Endurance Group Event has occurred, then the details of that particular event are included in the Endurance Group Information log page for that Endurance Group. no cap β the specifics live over there.
also!! an asynchronous event gets generated when an entry for an Endurance Group is newly added to this log page. like, the log page literally gets a notif. iconic behaviour, honestly. π
π RETURN π
- The nvme command status if a response was received (see
enum nvme_status_field) - or
-1witherrnoset otherwise.
so basically: it either tells you how it went, or it hits you with the -1 and makes you go read errno. π
remembe bestie: checkerrnowhen you see that-1. she's not being dramatic, she's being informative. π
and that's the whole page fr fr β shoutout to the libnvme API manual, dated July 2026. slay, go log some endurance groups. π ππ
π¦ 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