Page MenuHomeFreeBSD

2/7 vfs: reimplement deferred inactive
ClosedPublic

Authored by mjg on Jan 5 2020, 3:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 8:45 PM
Unknown Object (File)
Fri, Jan 17, 10:44 AM
Unknown Object (File)
Dec 13 2024, 1:24 PM
Unknown Object (File)
Oct 27 2024, 7:31 AM
Unknown Object (File)
Oct 23 2024, 3:02 PM
Unknown Object (File)
Oct 23 2024, 3:02 PM
Unknown Object (File)
Oct 23 2024, 3:01 PM
Unknown Object (File)
Oct 23 2024, 2:54 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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 28487

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

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

ok