libnvme(2)

πŸ’– NAME πŸ’–

okay so bestie, this is enum nvme_zns_zs β€” the Zone Descriptor Data Structure - Zone State ✨ it's literally the mood ring of a ZNS zone, no cap.

This page lives in the libnvme API manual (section 2, iykyk), so if you're deep in NVMe land, you're in the right place πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole vibe, verbatim, don't touch a single character:

enum nvme_zns_zs {
    NVME_ZNS_ZS_EMPTY ,
    NVME_ZNS_ZS_IMPL_OPEN ,
    NVME_ZNS_ZS_EXPL_OPEN ,
    NVME_ZNS_ZS_CLOSED ,
    NVME_ZNS_ZS_READ_ONLY ,
    NVME_ZNS_ZS_FULL ,
    NVME_ZNS_ZS_OFFLINE

};

seven states, seven little moods, and every single one matters πŸ’…


✨ Constants ✨

okay now the main character section β€” here's every constant and exactly what it means, no skips, no shortcuts:

  • NVME_ZNS_ZS_EMPTY β€” the Empty state 🫢 zone's got nothing in it yet, it's fresh out the box, blank canvas energy.
  • NVME_ZNS_ZS_IMPL_OPEN β€” the Implicitly open state 🌈 nobody officially said "open" but here it is, open anyway.
  • NVME_ZNS_ZS_EXPL_OPEN β€” the Explicitly open state πŸ’– you asked for it, you got it, main character move.
  • NVME_ZNS_ZS_CLOSED β€” the Closed state πŸŽ€ door shut, nap time, not writing right now.
  • NVME_ZNS_ZS_READ_ONLY β€” the Read only state ⭐ look but don't touch, bestie, fr fr.
  • NVME_ZNS_ZS_FULL β€” the Full state πŸ”₯ no more room, it ate, it's done.
  • NVME_ZNS_ZS_OFFLINE β€” the Offline state πŸ’€ genuinely not available, don't even try.

πŸ¦‹ SEE ALSO πŸ¦‹

ngl there's nothing listed here in the original, so this section is just vibing quietly in the corner πŸ™ˆ (but hey, it's libnvme, section 2 β€” you know the drill.)


and that's the whole page, bestie!! πŸ’œ

this was the enum nvme_zns_zs page from the libnvme(2) API manual, dated July 2026 β€” so if you ever forget what a zone is feeling, you know exactly where to look 🧚 🌸

periodt. ✨

πŸ“¦ where this page comes from