zdb: show dedup table and log attributes
commit0ffa6f3464278993d30c6e98b53af4ced0ed9ab7
authorRob Norris <rob.norris@klarasystems.com>
Wed, 27 Nov 2024 00:28:19 +0000 (27 11:28 +1100)
committerGitHub <noreply@github.com>
Wed, 27 Nov 2024 00:28:19 +0000 (26 19:28 -0500)
tree49f0b0cee49371f9267e30525f711b5f44877c89
parentd2b0ca953f16d7b33f747369fceb55a89eb51b2e
zdb: show dedup table and log attributes

There's interesting info in there that is going to help with
understanding dedup behavior at any given moment.

Since this is a format change, tests that rely on that output have been
modified to match.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #16755
cmd/zdb/zdb.c
tests/zfs-tests/tests/functional/dedup/dedup_fdt_create.ksh
tests/zfs-tests/tests/functional/dedup/dedup_fdt_import.ksh
tests/zfs-tests/tests/functional/dedup/dedup_legacy_create.ksh
tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_mixed.ksh
tests/zfs-tests/tests/functional/dedup/dedup_legacy_fdt_upgrade.ksh
tests/zfs-tests/tests/functional/dedup/dedup_legacy_import.ksh