aboutsummaryrefslogtreecommitdiff
path: root/tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2024-04-23 16:06:00 +0000
committerGitHub <noreply@github.com>2024-04-23 16:06:00 +0000
commit1f940de07224c2068e7c721222b1f3a519820ca9 (patch)
treea7d31ddbe0e37f98d5fbb13afd8935197b712cff /tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh
parent87d81d1d13e0ef848d2d533a4f12f5de41026e73 (diff)
downloadsrc-vendor/openzfs/master.tar.gz
src-vendor/openzfs/master.zip
L2ARC: Cleanup buffer re-compressionvendor/openzfs/master
When compressed ARC is disabled, we may have to re-compress when writing into L2ARC. If doing so we can't fit it into the original physical size, we should just fail immediately, since even if it may still fit into allocation size, its checksum will never match. While there, refactor the code similar to other compression places without using abd_return_buf_copy(). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored by: iXsystems, Inc. Closes #16038
Diffstat (limited to 'tests/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh')
0 files changed, 0 insertions, 0 deletions