active-zone-limit · shipping · also maximum active zones

Active-zone limit

An active-zone limit caps the zones simultaneously in implicitly open, explicitly open or closed states in a zoned namespace.

A closed, partially written zone still counts, even when no thread writes to it. The Linux max_active_zones attribute caps the sum of zones in the explicit open, implicit open and closed states, and 0 there means no limit. [5]

Raw NVMe MAR = 0 permits one active zone; 0xffffffff denotes no advertised limit, and other raw values decode to value + 1. The 4-byte MAR field sits at bytes 4 to 7 of the zoned Identify Namespace data structure, and the open-zone limit MOR must not exceed it. [4]

Linux zonefs instead uses decoded zero for no limit. Its max_active_seq_files value always equals the device maximum, and nr_active_seq_files cannot exceed a non-zero maximum. Budget reclamation and metadata activity as well as foreground streams; the limit is not a free-byte counter. [1]

Relations

related
Zoned namespaces (ZNS), Open-zone limit, Zone capacity, Zone Finish

Advantages

  • An advertised limit lets a host plan its concurrent write streams before writes fail with errors. [1]

Limitations

  • Releasing an active slot requires finishing or resetting a zone, which either gives up its remaining writable capacity or discards its data. [4]

Citations

  1. Linux kernel documentation, zonefs: sequential files, explicit-open and runtime sysfs attributes. (accessed 2026-10-23)
  2. NVM Express Zoned Namespace Command Set Specification 1.1, Figure 48 and sections 2.1.1.4, 3.4.1 and 3.4.3 (accessed 2026-10-23)
  3. Linux 6.14 stable ABI: sysfs-block queue/max_active_zones (accessed 2026-10-23)

Further reading

  1. Bjorling et al. ZNS: Avoiding the Block Interface Tax for Flash-based SSDs. USENIX ATC 2021, pp. 689-703, sections 3-5 and Table 3 (accessed 2026-10-11)
  2. Hesela: ZNS resource limits and worked examples (accessed 2026-10-11)
Sources & caveats
  • zns-spec is NVMe ZNS Command Set 1.1, re-read 2026-10-23 at Figure 48 for the 0's-based MAR and MOR fields and the FFFFFFFFh no-limit value.
  • zonefs and linux-abi-zoned were read for max_active_seq_files and the max_active_zones state sum with zero meaning no limit.
  • A companion analysis of open and active zone limits is listed but not used for any fact here.
  • The zone-reset entry links here because a zone reset is one way to release an active-zone slot.

JSON: /data/terms/active-zone-limit.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Active-zone limit. Hesela. 2026-10-23. https://hesela.dev/terms/active-zone-limit/