mirror_zfs/cmd/zdb
Rob Norris aea42e1379
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>
2024-07-18 10:51:27 -07:00
..
Makefile.am libzdb: Initial breakout of libzdb 2024-02-05 10:00:41 -08:00
zdb_il.c Provide macros for setting and getting blkptr birth times 2024-03-25 15:01:54 -07:00
zdb.c zdb: fix BRT dump (#16335) 2024-07-18 10:51:27 -07:00
zdb.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00