Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 20, 5:35 AM
Unknown Object (File)
Fri, Mar 20, 5:35 AM
Unknown Object (File)
Fri, Mar 20, 2:45 AM
Unknown Object (File)
Mon, Mar 9, 6:28 PM
Unknown Object (File)
Mon, Mar 9, 6:28 PM
Unknown Object (File)
Sat, Mar 7, 8:37 PM
Unknown Object (File)
Feb 17 2026, 12:21 AM
Unknown Object (File)
Feb 16 2026, 9:29 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 41242
Build 38131: arc lint + arc unit