zfs/cmd/zdb
Paul Dagnelie bee9cfb813
Increase limit of redaction list by using spill block
Currently redaction bookmarks and their associated redaction lists
have a relatively low limit of 36 redaction snapshots. This is imposed
by the number of snapshot GUIDs that fit in the bonus buffer of the
redaction list object. While this is more than enough for most use
cases, there are some limited cases where larger numbers would be
useful to support.

We tweak the redaction list creation code to use a spill block if
the number of redaction snapshots is above the amount that would fit
in the bonus buffer. We also make a small change to allow spill blocks
to be use for types of data besides SA. In order to fully leverage
this logic, we also change the redaction code to use vmem_alloc, to
handle extremely large allocations if needed. Finally, small tweaks
were made to the zfs commands and the test suite.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes #15018
2023-08-26 11:34:43 -07:00
..
Makefile.am zdb: add decryption support 2023-03-02 13:39:09 -08:00
zdb.c Increase limit of redaction list by using spill block 2023-08-26 11:34:43 -07:00
zdb.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zdb_il.c Implementation of block cloning for ZFS 2023-03-10 11:59:53 -08:00