Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
F111588603: D31705.id94294.diff
Wed, Mar 5, 4:18 PM
Unknown Object (File)
Tue, Feb 4, 4:54 PM
Unknown Object (File)
Feb 3 2025, 7:00 PM
Unknown Object (File)
Feb 2 2025, 3:34 AM
Unknown Object (File)
Jan 29 2025, 11:27 PM
Unknown Object (File)
Jan 22 2025, 11:05 AM
Unknown Object (File)
Jan 22 2025, 10:51 AM
Unknown Object (File)
Jan 22 2025, 10:10 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