nvme_mi_admin_get_nsid_log(2)
π NAME π
nvme_mi_admin_get_nsid_log β ok bestie, this one's a helper for the Get Log Page functions β¨
πΈ SYNOPSIS πΈ
int nvme_mi_admin_get_nsid_log (nvme_mi_ctrl_t ctrl , bool rae , enum
nvme_cmd_get_log_lid lid , __u32 nsid , __u32 len , void *log );
Like. Six arguments. She's thorough, she's got range, she ate π
π ARGUMENTS π
ctrlβ the Controller you're querying π«Ά that's your main character right thereraeβ Retain Asynchronous Events (yes, literally just that, no further explanation given, iykyk)lidβ the Log identifier, aka which log we're pulling πnsidβ the Namespace ID π¦lenβ length of the log buffer, so, how much room we're giving her πlogβ pointer for the resulting log data, this is where the goods land π
π DESCRIPTION π
So what she does is: she performs a Get Log Page Admin command, specifically for a log ID lid and a namespace ID nsid β¨
The log data is expected to be len bytes long, and on success it gets stored in log. That's the deal, no cap π
And the rae flag? It gets passed as-is straight to the Get Log Page command, periodt. It's specific to the Log Page you requested, so it's not her job to interpret it β she just hands it over π
β RETURN β
She gives you the nvme command status if a response was received (peep enum nvme_status_field for the deets), or -1 with errno set otherwise π
ngl bestie, if you get a-1back, go checkerrnoβ that's where the tea is π
k byeeee, this was the libnvme API manual page for nvme_mi_admin_get_nsid_log, section 2 of the manuals, dated July 2026 πβ¨ slay responsibly, go read your logs π
π
π¦ 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