mirror_zfs/lib/libzutil
Aditya Gollamudi b481a8bbbf
Make zpool status dedup table support raw bytes -p output
Check if -p flag is enabled, and if so print dedup table with raw
bytes. Restructure the logic in zutil_pool to check if -p flag is
enabled before printing either the bytes or raw numbers.

Calls to print the data for DDT now all use
zfs_nicenum_format(). Increased DDT histogram column buffers
to 32 bytes to prevent truncation when -p is enabled.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Adi Gollamudi <adigollamudi@gmail.com>
Closes #11626
Closes #17926
2026-03-13 09:53:56 -07:00
..
os zfs: replace tpool with taskq 2025-11-19 08:16:51 -08:00
Makefile.am build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zutil_device_path.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zutil_import.c zfs: replace tpool with taskq 2025-11-19 08:16:51 -08:00
zutil_import.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zutil_nicenum.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zutil_pool.c Make zpool status dedup table support raw bytes -p output 2026-03-13 09:53:56 -07:00