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
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms