libnvme(2)
β¨ NAME β¨
struct nvme_zns_id_ns β the Zoned Namespace Command Set Specific Identify Namespace Data Structure, bestie π
Like, this is the whole vibe of a zoned namespace when you ask it to identify itself. It's in libnvme, manual section 2, and yes she is iconic.
π¦ SYNOPSIS π¦
struct nvme_zns_id_ns {
__le16 zoc;
__le16 ozcs;
__le32 mar;
__le32 mor;
__le32 rrl;
__le32 frl;
__le32 rrl1;
__le32 rrl2;
__le32 rrl3;
__le32 frl1;
__le32 frl2;
__le32 frl3;
__le32 numzrwa;
__le16 zrwafg;
__le16 zrwasz;
__u8 zrwacap;
__u8 rsvd53[2763];
struct nvme_zns_lbafe lbafe[64];
__u8 vs[256];
};
π Members π
okay so every field, no skips, no gatekeeping π«Ά
zocβ Zone Operation Characteristicsozcsβ Optional Zoned Command Supportmarβ Maximum Active Resourcesmorβ Maximum Open Resourcesrrlβ Reset Recommended Limitfrlβ Finish Recommended Limitrrl1β Reset Recommended Limit 1rrl2β Reset Recommended Limit 2rrl3β Reset Recommended Limit 3frl1β Finish Recommended Limit 1frl2β Finish Recommended Limit 2frl3β Finish Recommended Limit 3numzrwaβ Number of ZRWA Resourceszrwafgβ ZRWA Flush Granularityzrwaszβ ZRWA Sizezrwacapβ ZRWA Capabilityrsvd53β Reserved π (she's just sitting there, minding her business, don't touch)lbafeβ LBA Format Extension, and it's an array:lbafe[64]πvsβ Vendor Specific, also an array:vs[256]β¨
lowkey reminder:rsvd53is literally declared as__u8 rsvd53[2763];and it's Reserved, so hands off, babe π
and that's the whole struct, ate and left no crumbs π
sign-off time π this lil cutie lives in the libnvme API manual, page struct nvme_zns_id_ns, section libnvme(2), dated July 2026 πΈ k byeeee π¦
π¦ 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