Page MenuHomeFreeBSD

2/7 vfs: reimplement deferred inactive
ClosedPublic

Authored by mjg on Jan 5 2020, 3:45 AM.
Tags
None
Referenced Files
F172346188: D23036.id66438.diff
Thu, Sep 17, 9:12 PM
F172339214: D23036.id66363.diff
Thu, Sep 17, 8:16 PM
F172333837: D23036.diff
Thu, Sep 17, 7:30 PM
Unknown Object (File)
Wed, Sep 16, 1:57 AM
Unknown Object (File)
Wed, Sep 9, 7:32 PM
Unknown Object (File)
Sat, Sep 5, 3:37 AM
Unknown Object (File)
Fri, Sep 4, 11:44 AM
Unknown Object (File)
Thu, Sep 3, 4:11 PM
Subscribers

Details

Summary

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

This is taken out of D22995

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjg retitled this revision from vfs: reimplement deferred inactive to 2/7 vfs: reimplement deferred inactive.
kib added inline comments.
sys/kern/vfs_subr.c
2987 ↗(On Diff #66363)

Do you need to assert that this is not the last vdrop ?

This revision is now accepted and ready to land.Jan 7 2020, 1:24 PM
sys/kern/vfs_subr.c
2987 ↗(On Diff #66363)

ok