libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” API Manual ✨

okay so bestie, welcome to the libnvme(9) glow-up 🫢 this one's all about...

🌸 NAME 🌸

struct nvme_zns_id_ns β€” the Zoned Namespace Command Set Specific Identify Namespace Data Structure. yes that's a mouthful, yes it's iconic, we move πŸ’…


✨ SYNOPSIS ✨

here's the whole vibe, no cap β€” every field exactly as it lives:

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];
 };

like, look at her. she's structured. she's aligned. she's main character πŸŽ€


πŸ¦‹ Members πŸ¦‹

get comfy, we're going field by field, and honestly every single one ate:

  • zoc β€” Zone Operation Characteristics πŸ’– see enum nvme_zns_id_ns_zoc for the deets, iykyk
  • ozcs β€” Optional Zoned Command Support ✨ see enum nvme_zns_id_ns_ozcs
  • mar β€” Maximum Active Resources πŸ”₯ like, the cap on how much can be active at once
  • mor β€” Maximum Open Resources 🌸 the cap on how many can be open, lowkey important
  • rrl β€” Reset Recommended Limit πŸŒ€
  • frl β€” Finish Recommended Limit 🌈
  • rrl1 β€” Reset Recommended Limit 1 πŸ™ˆ yes there's a first one
  • rrl2 β€” Reset Recommended Limit 2 πŸ’€ and a second
  • rrl3 β€” Reset Recommended Limit 3 ⭐ and a third, she's thorough
  • frl1 β€” Finish Recommended Limit 1 πŸ“
  • frl2 β€” Finish Recommended Limit 2 🧚
  • frl3 β€” Finish Recommended Limit 3 πŸ’œ
  • numzrwa β€” Number of ZRWA Resources πŸ‘‘ the count, periodt
  • zrwafg β€” ZRWA Flush Granularity πŸ¦‹ the granularity of the flush, slay
  • zrwasz β€” ZRWA Size 🌟 the size, obvi
  • zrwacap β€” ZRWA Capability πŸ’… see enum nvme_zns_id_ns_zrwacap β€” it's giving capability energy
  • rsvd53 β€” Reserved πŸ’€ not for you, bestie, hands off
  • lbafe β€” LBA Format Extension πŸ”₯ it's an array, lbafe[64], sixty-four of them, iconic
  • vs β€” Vendor Specific ✨ vs[256], 256 bytes of "ask your vendor," ngl
fr fr: rsvd53 is Reserved β€” don't go poking at it, that's not your business 🫢

and that's the whole page, diva. every field, every enum reference, every array size β€” nothing skipped, we don't do that here πŸ’…βœ¨

k bye bestie!! πŸŽ€πŸ’–πŸ¦‹


this page was brought to you by the struct nvme_zns_id_ns girlies, from libnvme(9), dated October 2026 ⭐ mwah, see you in the next one πŸ’œ

πŸ“¦ where this page comes from