libnvme(2)
π NAME π
enum nvme_zns_report_options β the Zone Management Receive Zone Receive Action Specific Field, bestie β¨
So basically, this lil' enum is the whole vibe-check for which zones you want the controller to hand back to you when you do a Zone Management Receive. You pick an option, it tells the drive which zones to spill the tea about. No cap. π«
πΈ SYNOPSIS πΈ
enum nvme_zns_report_options {
NVME_ZNS_ZRAS_REPORT_ALL ,
NVME_ZNS_ZRAS_REPORT_EMPTY ,
NVME_ZNS_ZRAS_REPORT_IMPL_OPENED ,
NVME_ZNS_ZRAS_REPORT_EXPL_OPENED ,
NVME_ZNS_ZRAS_REPORT_CLOSED ,
NVME_ZNS_ZRAS_REPORT_FULL ,
NVME_ZNS_ZRAS_REPORT_READ_ONLY ,
NVME_ZNS_ZRAS_REPORT_OFFLINE
};
π Constants π
Okay so these are the actual main characters β the members of the enum, each one filtering for a specific zone state. Pick your fighter π₯
NVME_ZNS_ZRAS_REPORT_ALLβ lists all the zones. Literally every single one, no filtering, the whole friend group π«NVME_ZNS_ZRAS_REPORT_EMPTYβ lists the zones chillin' in theZSE:Emptystate πNVME_ZNS_ZRAS_REPORT_IMPL_OPENEDβ lists the zones in theZSIO:Implicitly Openedstate. Not me being opened by accident πNVME_ZNS_ZRAS_REPORT_EXPL_OPENEDβ lists the zones in theZSEO:Explicitly Openedstate. Main character energy, opened on purpose πNVME_ZNS_ZRAS_REPORT_CLOSEDβ lists the zones in theZSC:Closedstate. It's giving boundaries. We respect the boundaries πͺNVME_ZNS_ZRAS_REPORT_FULLβ lists the zones in theZSF:Fullstate. Ate and left no crumbs, truly π½οΈNVME_ZNS_ZRAS_REPORT_READ_ONLYβ lists the zones in theZSRO:Read Onlystate. Look but don't touch, bestie πNVME_ZNS_ZRAS_REPORT_OFFLINEβ lists the zones in theZSO:Offlinestate. Ghosted. Off the grid. Do not perceive her π
π SEE ALSO π
(no extras on this one β it's a self-contained baddie π)
later, bestie π
That's the whole page! This iconic lil' enum ships as part of the libnvme API Manual β this particular page is dated July 2026, and it's the enum nvme_zns_report_options page, fr fr. Go forth and report those zones π¦β¨π
π¦ 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