HomeFreeBSD

zdb: fix BRT dump (#16335)

Description

zdb: fix BRT dump (#16335)

BRT refcounts are stored as eight uint8_ts rather than a single
uint64_t. This means that za_first_integer is only the first byte, so
max 256. This fixes it by doing a lookup for the whole value.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.

Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>

Details

Provenance
rob.norris_klarasystems.comAuthored on Jul 18 2024, 5:51 PM
GitHub <noreply@github.com>Committed on Jul 18 2024, 5:51 PM
Parents
rG1147a2797853: Fix printf typo for `zfs receive -cv` (#16295)
Branches
Unknown
Tags
Unknown