mirror_zfs/tests/runfiles
Ryan Moeller ac0fd40c8c Add zpool properties for allocation class space
The existing zpool properties accounting pool space (size, allocated,
fragmentation, expandsize, free, capacity) are based on the normal
metaslab class or are cumulative properties of several classes combined.

Add properties reporting the space accounting metrics for each metaslab
class individually.

Also introduce pool-wide AVAIL, USABLE, and USED properties reporting
values corresponding to FREE, SIZE, and ALLOC deflated for raidz.

Update ZTS to recognize the new properties and validate reported values.

While in zpool_get_parsable.cfg, add "fragmentation" to the list of
parsable properties.

Sponsored-by: Klara, Inc.
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Ryan Moeller <ryan.moeller@klarasystems.com>
Cloes #18238
2026-03-02 15:50:23 -08:00
..
bclone.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
common.run Add zpool properties for allocation class space 2026-03-02 15:50:23 -08:00
freebsd.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
linux.run Linux 7.0: explicitly set setlease handler to kernel implementation 2026-02-22 11:39:06 -08:00
longevity.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
perf-regression.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
sanity.run Allow rewrite skip cloned and snapshotted blocks 2026-02-09 10:17:56 -08:00
sunos.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00