zfs/tests/zfs-tests/tests/functional/redacted_send
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
..
cleanup.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
redacted.cfg Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
redacted.kshlib Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
redacted_compressed.ksh Implement Redacted Send/Receive 2019-06-19 09:48:12 -07:00
redacted_contents.ksh Fix typos in tests/ 2019-08-30 16:52:00 -07:00
redacted_deleted.ksh Fix typos in tests/ 2019-08-30 16:52:00 -07:00
redacted_disabled_feature.ksh Fix typos in tests/ 2019-08-30 16:52:00 -07:00
redacted_embedded.ksh tests: prune cat (ab)uses 2022-04-01 18:00:52 -07:00
redacted_holes.ksh ZTS: Another round of changes for FreeBSD 2020-03-06 09:31:32 -08:00
redacted_incrementals.ksh ZTS: switch to rsync for directory diffs 2022-03-01 10:05:32 -08:00
redacted_largeblocks.ksh ZTS: switch to rsync for directory diffs 2022-03-01 10:05:32 -08:00
redacted_many_clones.ksh Increase limit of redaction list by using spill block 2023-08-26 11:34:43 -07:00
redacted_mixed_recsize.ksh Implement Redacted Send/Receive 2019-06-19 09:48:12 -07:00
redacted_mounts.ksh ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
redacted_negative.ksh ZTS: /dev/null: accept no substitutes 2022-03-08 09:33:11 -08:00
redacted_origin.ksh Implement Redacted Send/Receive 2019-06-19 09:48:12 -07:00
redacted_panic.ksh ZTS: Avoid unset $tmpdir in redacted_panic 2021-08-16 16:38:34 -07:00
redacted_props.ksh tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00
redacted_resume.ksh tests: prune cat (ab)uses 2022-04-01 18:00:52 -07:00
redacted_size.ksh tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00
redacted_volume.ksh ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
setup.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00