Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L2ARC: Restrict write size to 1/4 of the device #15519

Merged
merged 1 commit into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. L2ARC: Restrict write size to 1/4 of the device

    PR openzfs#15457 exposed weird logic in L2ARC write sizing. If it appeared
    bigger than device size, instead of liming write it reset all the
    system-wide tunables to their default.  Aside of being excessive,
    it did not actually help with the problem, still allowing infinite
    loop to happen.
    
    This patch removes the tunables reverting logic, but instead limits
    L2ARC writes (or at least eviction/trim) to 1/4 of the capacity.
    
    Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
    Sponsored by:	iXsystems, Inc.
    amotin committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0947e4d View commit details
    Browse the repository at this point in the history