HomeFreeBSD

Remove some dead ARC code. (#14340)

Description

Remove some dead ARC code. (#14340)

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.

Details

Provenance
mavAuthored on Jan 9 2023, 6:45 PM
GitHub <noreply@github.com>Committed on Jan 9 2023, 6:45 PM
Parents
rGa0105f6cd4a6: linux 6.2 compat: bio->bi_rw was renamed bio->bi_opf
Branches
Unknown
Tags
Unknown

Event Timeline