libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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 get EXPFLUSHSUP πŸŽ€ 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