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
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
- Linux kernel documentation, zonefs: sequential files, explicit-open and runtime sysfs attributes.
- NVM Express Zoned Namespace Command Set Specification 1.1, Figure 48 and sections 2.1.1.4, 3.4.1 and 3.4.3
- Linux 6.14 stable ABI: sysfs-block queue/max_active_zones
Further reading
- 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
- Hesela: ZNS resource limits and worked examples
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.