mirror_zfs/cmd/zpool
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
..
compatibility.d Update compatibility.d files 2025-08-25 16:47:19 -07:00
os GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:33:29 -07:00
zpool.d zed: misc vdev_enc_sysfs_path fixes 2023-11-07 09:09:24 -08:00
Makefile.am build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zpool_iter.c zfs: replace tpool with taskq 2025-11-19 08:16:51 -08:00
zpool_main.c Make zpool status dedup table support raw bytes -p output 2026-03-13 09:53:56 -07:00
zpool_util.c Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
zpool_util.h Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
zpool_vdev.c cmd/zpool cstyle issues 2025-11-14 15:58:50 -08:00