HomeFreeBSD

vfs: reimplement deferred inactive to use a dedicated flag (VI_DEFINACT)

Description

vfs: reimplement deferred inactive to use a dedicated flag (VI_DEFINACT)

The previous behavior of leaving VI_OWEINACT vnodes on the active list without
a hold count is eliminated. Hold count is kept and inactive processing gets
explicitly deferred by setting the VI_DEFINACT flag. The syncer is then
responsible for vdrop.

Reviewed by: kib (previous version)
Tested by: pho (in a larger patch, previous version)
Differential Revision: https://reviews.freebsd.org/D23036

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D23036: 2/7 vfs: reimplement deferred inactive
Parents
rS356440: vfs: trylock in vfs_msync and refactor the func
Branches
Unknown
Tags
Unknown