NVME_MI_ADMIN_GET_LOG_PREDICTABLE_LAT_NVMSET(2)
π nvme_mi_admin_get_log_predictable_lat_nvmset(2) π
okay bestie, so this page lives in the libnvme API manual (section 2, the syscall-ish girlies) and it's all about grabbing the Predictable Latency Per NVM Set log. yes that's a mouthful, we love a long name, it's giving main-character function π
β¨ NAME β¨
nvme_mi_admin_get_log_predictable_lat_nvmset β Predictable Latency Per NVM Set
πΈ SYNOPSIS πΈ
int nvme_mi_admin_get_log_predictable_lat_nvmset (nvme_mi_ctrl_t ctrl ,
__u16 nvmsetid , struct nvme_nvmset_predictable_lat_log *log );
π ARGUMENTS π
ctrlβ the Controller to query π«Ά like, which one are we asking babenvmsetidβ NVM set id, the__u16that says which set we're talking aboutlogβ User address to store the predictable latency log πΈ this is where the tea gets written down
π RETURN π
So here's the vibe check: you get back the nvme command status if a response was received (peep enum nvme_status_field for the deets), or else it's -1 and errno is set. so if you see -1, that's not a slay, that's a check-your-errno moment π
ngl bestie, that log argument has to be a real address you own, because the kernel/firmware is gonna write into it. no cap, don't hand it vibes, hand it memory π
okay so that's literally the whole page, short and iconic, no filler, periodt β¨
this was the libnvme API manual, section (2), dated July 2026 β and the footer was trying to spell nvme_mi_admin_get_log_predictab + nvme_mi_admi...e_lat_nvmset(2) which is the most truncated thing I've ever seen but we respect the hustle π¦ mwah, study it, slay it, hydrate π
π¦ 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