libnvme_sub...min_passthru(9)
π
libnvme_submit_admin_passthru β the libnvme_sub...min_passthru(9) page, bestie β¨
okay so like, hi, this is page libnvme_sub...min_passthru(9) from the libnvme API manual, and it's genuinely so short and so good. it's giving "tiny function, big main character energy" π«Ά
π NAME π
libnvme_submit_admin_passthru β queues up an admin passthru command, no cap π¦
β¨ SYNOPSIS β¨
int libnvme_submit_admin_passthru (struct libnvme_transport_handle *hdl
, struct libnvme_passthru_cmd *cmd , void *cookie );
look at her. three args. flawless. returns an int π
πΈ ARGUMENTS πΈ
hdlβ the transport handle, aka the whole vibe you're sending things through πcmdβ the actual nvme admin command you're sending out into the world πcookieβ a user-defined opaque value that comes right back to you at completion πͺ literally a little treat you hand off and get returned. iykyk
π₯ DESCRIPTION π₯
so basically it queues cmd for asynchronous execution. yes bestie, async β it does not wait around, it's booked and busy, it hands the command off and moves on π§
when the command actually finishes, the completion gets reported back to you via libnvme_reap_passthru. so don't forget to reap, that's the whole vibe check π
β RETURN β
0β slay, queued successfully π- a negative error code β it did NOT eat, something went wrong π
fr fr, always check that return value. 0 is the good ending, anything negative means the queueing itself failed.
and that's the whole page, she's short but she ate πΈ
π«Ά so cute, so brief β this was libnvme_sub...min_passthru(9) from the libnvme API manual, dated October 2026. mwah, go queue some admin commands bestie π
π¦ 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