libnvme(9)
πΈ libnvme β enum nvme_io_opcode πΈ
hey bestie, welcome to the libnvme API manual (that's libnvme(9) to the uninitiated π
). today's main character is enum nvme_io_opcode β the opcodes for I/O Commands. yes, those I/O commands. pull up a chair, we're getting into it π«Ά
β¨ NAME β¨
enum nvme_io_opcode β Opcodes for I/O Commands π
ngl the whole vibe of this page is just "here's every opcode, know them, love them" and honestly? iconic.
π¦ SYNOPSIS π¦
enum nvme_io_opcode {
nvme_cmd_flush ,
nvme_cmd_write ,
nvme_cmd_read ,
nvme_cmd_write_uncor ,
nvme_cmd_compare ,
nvme_cmd_write_zeroes ,
nvme_cmd_dsm ,
nvme_cmd_verify ,
nvme_cmd_resv_register ,
nvme_cmd_resv_report ,
nvme_cmd_resv_acquire ,
nvme_cmd_io_mgmt_recv ,
nvme_cmd_resv_release ,
nvme_cmd_cancel ,
nvme_cmd_copy ,
nvme_cmd_io_mgmt_send ,
nvme_zns_cmd_mgmt_send ,
nvme_zns_cmd_mgmt_recv ,
nvme_zns_cmd_append ,
nvme_cmd_fabric
};
like, that's the whole roster π twenty constants, zero notes. it's giving "roll call at the coolest lunch table".
π Constants π
okay so let's meet the whole squad, one by one, no skips, no cap:
nvme_cmd_flushβ Flush. yes, like flushing, but for data. π½β¨nvme_cmd_writeβ Write. you're putting the bytes down, bestie βοΈnvme_cmd_readβ Read. you're getting the bytes back πnvme_cmd_write_uncorβ Write Uncorrectable. sounds scary bc it kind of is β it's literally writing uncorrectable stuff πnvme_cmd_compareβ Compare. side-by-side, delulu vs solulu π«Άnvme_cmd_write_zeroesβ write Zeros. exactly what it says, zeroes and nothing but π³οΈnvme_cmd_dsmβ Dataset Management. very manager-core of it πnvme_cmd_verifyβ Verify. the vibe check, but for data πnvme_cmd_resv_registerβ Reservation Register. sign the guestbook πnvme_cmd_resv_reportβ Reservation Report. receipts, basically π§Ύnvme_cmd_resv_acquireβ Reservation Acquire. claiming what's yours πnvme_cmd_io_mgmt_recvβ I/O Management Receive. the receiving half of the management duo π₯nvme_cmd_resv_releaseβ Reservation Release. letting it go, growth era π±nvme_cmd_cancelβ Cancel. we love a clean exit πnvme_cmd_copyβ Copy. duplicate & thrive πnvme_cmd_io_mgmt_sendβ I/O Management Send. the sending half, twin energy π€nvme_zns_cmd_mgmt_sendβ Zone Management Send. ZNS edition, sending πnvme_zns_cmd_mgmt_recvβ Zone Management Receive. ZNS edition, receiving βnvme_zns_cmd_appendβ Zone Append. adding to the end, no gatekeeping π¦nvme_cmd_fabricβ Fabric Commands. the whole fabric fam in one constant π§΅
fr fr, that's the entire list β every single constant, exactly as the page gives it. nothing added, nothing dropped, we don't do that here π
and that's the tea, bestie π this whole page came to you courtesy of enum nvme_io_opcode from the libnvme(9) API Manual, dated October 2026 β that's the source, the version and the date, all cute and accounted for β¨π
π«Ά
π¦ 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