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
Reviewer
kib
Differential Revision
D23397: vfs: simplify iteration over the lazy list
Parents
rS357279: Fix text format definition for kern.maxvnodes, vfs.wantfreevnodes. This
Branches
Unknown
Tags
Unknown