mirror_zfs/lib
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
..
libavl build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
libbtree Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
libefi build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
libicp build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
libnvpair build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
librange_tree Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
libspl simd: detect and surface support for Intel SHA512 extensions 2026-02-25 12:47:48 -08:00
libzdb build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
libzfs Add zpool properties for allocation class space 2026-03-02 15:50:23 -08:00
libzfs_core build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
libzfsbootenv build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
libzpool Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
libzstd Zstd: Integrate v1.5.7 into the ZFS build system 2026-01-20 13:41:06 -08:00
libzutil build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
Makefile.am Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00