libnvme(2)
π NAME π
okay bestie, welcome to libnvme(2) β the API manual, no big deal π
β and today's main character is struct nvme_zns_desc, aka the Zone Descriptor Data Structure. it's giving "I hold the receipts on your zones." periodt β¨
πΈ SYNOPSIS πΈ
here's the whole girl, verbatim, don't touch her π«Ά
struct nvme_zns_desc {
__u8 zt;
__u8 zs;
__u8 za;
__u8 zai;
__u8 rsvd4[4];
__le64 zcap;
__le64 zslba;
__le64 wp;
__u8 rsvd32[32];
};
π¦ Members π¦
β¨ the field-by-field vibe check β¨
ztβ Zone Type. literally which flavour of zone this is πzsβ Zone State. the zone's current mood, fr fr πzaβ Zone Attributes. the lil extras it's carrying around πzaiβ Zone Attributes Information. the β¨infoβ¨ about those attributes, iykykrsvd4β Reserved. not for you, bestie π hands offzcapβ Zone Capacity. how much it can hold, lowkey the important number πzslbaβ Zone Start Logical Block Address. where this zone begins, exactly, no cap πwpβ Write Pointer. where the writing is currently at π₯ main character of the write path honestlyrsvd32β Reserved. also not for you π stay out of it
no cap on any of this β every single member is listed, every single one is accounted for. the reserved fields stay reserved. that is not a suggestion, that's the rules π
π that's the whole page π
and that's a wrap, angel! this was struct nvme_zns_desc from the libnvme(2) API Manual, dated July 2026 πΈ go forth and zone responsibly, you ate this fr fr ππ§
π¦ 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