mirror_zfs/cmd/zdb
Ivan Shapovalov 968cfc3df2 zdb: add --class=(normal|special|...) to filter blocks by alloc class
When counting blocks to generate block size histograms (`-bb`), accept a
`--class=` argument (as a comma-separated list of either "normal",
"special", "dedup" or "other") to only consider blocks that belong to
these metaslab classes.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
Closes #16999
2025-10-21 09:50:43 -07:00
..
Makefile.am build: rename FORCEDEBUG_CPPFLAGS to LIBZPOOL_CPPFLAGS 2024-08-27 12:53:27 -07:00
zdb_il.c Add allocation profile export and zhack subcommand for import 2025-09-10 15:01:28 -07:00
zdb.c zdb: add --class=(normal|special|...) to filter blocks by alloc class 2025-10-21 09:50:43 -07:00
zdb.h Add allocation profile export and zhack subcommand for import 2025-09-10 15:01:28 -07:00