diff options
author | Alexander Motin <[email protected]> | 2024-04-23 12:06:00 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-23 09:06:00 -0700 |
commit | 1f940de07224c2068e7c721222b1f3a519820ca9 (patch) | |
tree | a7d31ddbe0e37f98d5fbb13afd8935197b712cff /man/man4 | |
parent | 87d81d1d13e0ef848d2d533a4f12f5de41026e73 (diff) |
L2ARC: Cleanup buffer re-compression
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 <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #16038
Diffstat (limited to 'man/man4')
0 files changed, 0 insertions, 0 deletions