mirror_zfs/cmd/zdb
Rob Norris 4d686c3da5 ddt: introduce lightweight entry
The idea here is that sometimes you need the contents of an entry with
no intent to modify it, and/or from a place where its difficult to get
hold of its originating ddt_t to know how to interpret it.

A lightweight entry contains everything you might need to "read" an
entry - its key, type and phys contents - but none of the extras for
modifying it or using it in a larger context. It also has the full
complement of phys slots, so it can represent any kind of dedup entry
without having to know the specific configuration of the table it came
from.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: iXsystems, Inc.
Closes #15893
2024-08-16 12:02:22 -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 ddt: introduce lightweight entry 2024-08-16 12:02:22 -07:00
zdb.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00