mirror_zfs/cmd/zdb
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
..
Makefile.am Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
zdb_il.c Add allocation profile export and zhack subcommand for import 2025-09-10 11:13:24 -07:00
zdb.c Make zpool status dedup table support raw bytes -p output 2026-03-13 09:53:56 -07:00
zdb.h Add allocation profile export and zhack subcommand for import 2025-09-10 11:13:24 -07:00