libnvme(9)
π libnvme(9) β bestie edition π
Okay so welcome to the libnvme API Manual, section 9, and today's main character is a lil enum that's literally all about one bit of ZNSβ¨ If you've ever been like "hmm what even is ZRWA capability" β bestie, same, but we're gonna get through it together, no cap π«Ά
πΈ NAME πΈ
enum nvme_zns_id_ns_zrwacap β ZRWA Capability π
That's it. That's the whole name. It's giving very "small but mighty" energy, and honestly? Iconic.
β¨ SYNOPSIS β¨
Here's the whole vibe, verbatim, so you can copy-paste and slay:
enum nvme_zns_id_ns_zrwacap {
NVME_ZNS_ID_NS_ZRWACAP_EXPFLUSHSUP_SHIFT ,
NVME_ZNS_ID_NS_ZRWACAP_EXPFLUSHSUP_MASK
};
Yep β that's the entire enum. Two members, zero drama, highkey efficient π Not me being obsessed with how tidy this is.
π¦ Constants π¦
Both of the constants it ships with, explained with love:
NVME_ZNS_ID_NS_ZRWACAP_EXPFLUSHSUP_SHIFTβ this one's the shift amount you need to get at Explicit Flush Support (EXPFLUSHSUP) π Like, you take your value, you shift it, and boom β there's your EXPFLUSHSUP. It's a shift amount bestie, it shifts, that's the whole job πNVME_ZNS_ID_NS_ZRWACAP_MASKβ and this one's the mask to getEXPFLUSHSUPπ Slap it on with a bitwise AND and the EXPFLUSHSUP bits are the only ones left standing. Masking is literally self-care for your bits fr fr β¨
π tiny reminder: EXPFLUSHSUP stands for Explicit Flush Support β that's straight from the page, not me making stuff up, iykyk π
And that's the whole page, bestie!! Nothing hidden, nothing skipped, every constant exactly where it belongs π Go forth and shift-and-mask responsibly, you absolute Unix icon π
β written with love, October 2026, signed off by enum nvme_zns_id_ns_zrwacap for the one and only libnvme(9) ππ¦πΈ
π¦ 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