aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libavl
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2024-05-09 10:39:57 -0400
committerBrian Behlendorf <[email protected]>2024-05-29 08:54:19 -0700
commit4c484d66b7f8fe595fdb89d91797e3e8fa686dab (patch)
tree1f6c85cf96e356095d3ed11faa04f42fa61d1fb5 /lib/libavl
parent41f2a9c81f6151cd01fc455f13b8330aa72718a6 (diff)
Fix ZIL clone records for legacy holes
Previous code overengineered cloned range calculation by using BP_GET_LSIZE(). The problem is that legacy holes don't have the logical size, so result will be wrong. But we also don't need to look on every block size, since they all must be identical. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Brian Atkinson <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #16165
Diffstat (limited to 'lib/libavl')
0 files changed, 0 insertions, 0 deletions