mirror_zfs/cmd
Ivan Shapovalov cf9163f250 zdb: adjust block histogram binning strategy
Previously, a bin included all blocks _starting_ from given size
(e.g., a "4K" bin would include all blocks within the [4K; 8K) region).
This is counter-intuitive and does not match the typical use-case of the
block histogram (that is, to estimate disk usage considering how ZFS'
block allocation works). In other words, if I'm looking at the "4K" row,
I'm interested in records that _fit into_ a 4K block.

Adjust the binning strategy such that a bin includes all blocks _up to_
given size, such that e.g. a "4K" bin would include all blocks within
the (2K; 4K] region.

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
..
raidz_test SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zdb zdb: adjust block histogram binning strategy 2025-10-21 09:50:43 -07:00
zed zed: Add synchronous zedlets 2025-09-11 15:58:59 -07:00
zfs Make mount/share errors non-fatal for zfs create/clone 2025-10-21 09:50:43 -07:00
zinject zinject: Introduce ready delay fault injection 2025-10-21 09:50:43 -07:00
zpool pool_iter_refresh: don't refresh pools twice 2025-10-21 09:50:43 -07:00
zpool_influxdb SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zstream Install zarcstat and zarcsummary symlinks in Makefile 2025-09-09 17:05:30 -07:00
dbufstat.in SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am cmd: rename arcstat to zarcstat 2025-09-10 15:01:20 -07:00
mount_zfs.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zarcstat.in cmd: rename arcstat to zarcstat 2025-09-10 15:01:20 -07:00
zarcsummary cmd: rename arc_summary to zarcsummary 2025-09-10 15:01:16 -07:00
zfs_ids_to_path.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zgenhostid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zhack.c Refactor zhack label repair and fix -c regression on nonzero TXG 2025-09-17 16:33:59 -07:00
zilstat.in ZIL: "crash" the ZIL if the pool suspends during fallback 2025-08-08 16:43:26 -07:00
ztest.c ZIL: pass commit errors back to ITX callbacks 2025-08-08 16:43:20 -07:00
zvol_wait zvol_wait logic may terminate prematurely 2022-10-11 12:12:04 -07:00