NVME_INIT_GET_LOG_PERSISTENT_EVENT-LIBNVME3(2)
π nvme_init_get_log_persistent_event β¨
okay bestie, so this one lives in the libnvme API manual, section 9, and it's genuinely one of the most lowkey-but-important little helpers in the whole passthru game. no cap. it's the glow-up ritual you do to your command buffer before you go ask the controller for its whole entire diary. π¦
β¨ NAME β¨
nvme_init_get_log_persistent_event β Initialize passthru command for Persistent Event Log π
like, that's literally her job. that's the whole vibe.
πΈ SYNOPSIS πΈ
void nvme_init_get_log_persistent_event (struct libnvme_passthru_cmd
*cmd , enum nvme_pevent_log_action action , void *pevent_log , __u32 len
);
she returns void β no receipts, no error codes, she just does the thing and hands you back a fully prepped command. main character energy fr fr. π
β ARGUMENTS β
cmdβ the passthru command you're gonna use. this is the blank canvas, the little outfit you're dressing up. she fills it in for you. πactionβ type isenum nvme_pevent_log_action, and it's the action the controller should take during processing this command. so, like, what the controller should do while it's chewing on your request. yes ma'am. π«Άpevent_logβ the user address where you want the persistent event log stored. this is the destination, the drop-off point, the little mailbox you're handing over. π¬lenβ the size ofpevent_log, typed__u32. the controller needs to know how much room it has before it starts yeeting bytes at your pointer. sized correctly, bestie, please. π
π¦ DESCRIPTION π¦
so what she actually does: she initializes the passthru command buffer for the Get Log command, and she sets the LID value to NVME_LOG_PERSISTENT_EVENT. that's it, that's the whole flex. π
like β you hand her a cmd, she makes it that command. Get Log, LID = NVME_LOG_PERSISTENT_EVENT. no guessing, no extra steps, no drama. iconic behaviour honestly. β¨
little reminder bestie: she only preps the buffer β the actual "go do it" moment is on you. π§
π SEE ALSO π
nope β this page doesn't point you anywhere else. she stands alone. independent queen. π
and that's the tea π β this page is from the libnvme API manual, dated October 2026, and it's brought to you by the libnvme girlies. mwah. πππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms