diff options
author | George Amanakis <[email protected]> | 2023-06-06 21:32:37 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-06 12:32:37 -0700 |
commit | bcd5321039c3de29c14eac1068d392c15ad7fe2c (patch) | |
tree | 1fb8482d85b43939c2bc29d7917d3307aeacd238 /module/os/linux/spl | |
parent | 8653f1de48ee5b41e2bf421785e1279a08c6b903 (diff) |
Fix the L2ARC write size calculating logic
l2arc_write_size() should return the write size after adjusting for trim
and overhead of the L2ARC log blocks. Also take into account the
allocated size of log blocks when deciding when to stop writing buffers
to L2ARC.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #14939
Diffstat (limited to 'module/os/linux/spl')
0 files changed, 0 insertions, 0 deletions