diff options
author | Paul Dagnelie <[email protected]> | 2023-09-19 08:58:14 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-19 08:58:14 -0700 |
commit | 741c215bab32a0a823572769c3560729c78390ea (patch) | |
tree | 838dbd76ca3f73cf77dcd5358540bc220decb31c /etc/Makefile.am | |
parent | 6cb933c56ea6e865adfa37c394a77e3866f41dfb (diff) |
Fix l2arc_apply_transforms ztest crash
In #13375 we modified the allocation size of the buffer that we use
to apply l2arc transforms to be the size of the arc hdr we're using,
rather than the allocation size that will be in place on the disk,
because sometimes the hdr size is larger. Unfortunately, sometimes
the allocation size is larger, which means that we overflow the buffer
in that case. This change modifies the allocation to be the max of
the two values
Reviewed-by: Mark Maybee <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Closes #15177
Closes #15248
Diffstat (limited to 'etc/Makefile.am')
0 files changed, 0 insertions, 0 deletions