HomeFreeBSD

vfs: unlazy before dooming the vnode

Description

vfs: unlazy before dooming the vnode

With this change having the listmtx lock held postpones dooming the vnode.
Use this fact to simplify iteration over the lazy list. It also allows
filters to safely access ->v_data.

Reviewed by: kib (early version)
Differential Revision: https://reviews.freebsd.org/D23397

Details

Provenance
mjgAuthored on Jan 30 2020, 2:12 AM
Parents
rG79674264df40: Fix text format definition for kern.maxvnodes, vfs.wantfreevnodes. This
Branches
Unknown
Tags
Unknown

Event Timeline