aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zcp_set.h
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2023-07-03 22:16:04 +1000
committerBrian Behlendorf <[email protected]>2024-08-16 12:02:22 -0700
commit4d686c3da53db5e5f3f3cc52060d9fbca2baf092 (patch)
tree9747b7af3a59ace608ba064b4bac7b08894ac4da /include/sys/zcp_set.h
parentd17ab631a9142b81b100d87f0619f5e59bc211ac (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/zcp_set.h')
0 files changed, 0 insertions, 0 deletions