Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
F159421246: D31705.id.diff
Sat, Jun 13, 8:40 PM
Unknown Object (File)
Sun, Jun 7, 5:32 AM
Unknown Object (File)
Fri, Jun 5, 4:50 PM
Unknown Object (File)
Sat, May 16, 12:29 AM
Unknown Object (File)
Sat, May 16, 12:29 AM
Unknown Object (File)
Sat, May 16, 12:29 AM
Unknown Object (File)
Sat, May 16, 12:29 AM
Unknown Object (File)
May 6 2026, 11:44 AM
Subscribers

Details

Summary

Yield at the end of each loop iteration if there are remaining works as
indicated by the value of *len updated by VOP_DEALLOCATE. Without this,
when calling vop_stddeallocate to zero a large region, the
implementation only zerofills a relatively small chunk and return.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41241
Build 38130: arc lint + arc unit