HomeFreeBSD

vlrureclaim: only skip vnode with resident pages if it own the pages

Description

vlrureclaim: only skip vnode with resident pages if it own the pages

Nullfs vnode which shares vm_object and pages with the lower vnode should
not be exempt from the reclaim just because lower vnode cached a lot.
Their reclamation is actually very cheap and should be preferred over
real fs vnodes, but this change is already useful.

Reported and tested by: pho
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D29178

Details

Provenance
kibAuthored on Mar 6 2021, 9:09 PM
Reviewer
mckusick
Differential Revision
D29178: UFS SU: handle races on remounts rw<->ro
Parents
R10:0b3948e73b74: softdep_unmount: assert that no dandling dependencies are left
Branches
Unknown
Tags
Unknown