diff options
author | Rob Norris <[email protected]> | 2023-07-03 22:16:04 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-08-16 12:02:22 -0700 |
commit | 4d686c3da53db5e5f3f3cc52060d9fbca2baf092 (patch) | |
tree | 9747b7af3a59ace608ba064b4bac7b08894ac4da /include/sys/vdev_indirect_births.h | |
parent | d17ab631a9142b81b100d87f0619f5e59bc211ac (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Sponsored-by: Klara, Inc.
Sponsored-by: iXsystems, Inc.
Closes #15893
Diffstat (limited to 'include/sys/vdev_indirect_births.h')
0 files changed, 0 insertions, 0 deletions