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

Remove some dead ARC code. #14340

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Remove some dead ARC code. #14340

merged 1 commit into from
Jan 9, 2023

Commits on Jan 5, 2023

  1. Remove some dead ARC code.

    Every ARC buffer holds a reference on the header. It means headers with
    buffers are never evictable.  When we are evicting a header, there can
    be no more buffers to free.  Just assert that.
    
    b_evict_lock seems not protecting anything now.  Remove it.
    
    Buffers checksum should also be freed with the last uncompressed buffer,
    so it should not be there also when we are evicting the header.
    
    Signed-off-by:  Alexander Motin <mav@FreeBSD.org>
    Sponsored by:   iXsystems, Inc.
    amotin committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    ac2b1eb View commit details
    Browse the repository at this point in the history