Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
F132378804: D31705.id94318.diff
Thu, Oct 16, 9:27 AM
F132378803: D31705.id.diff
Thu, Oct 16, 9:27 AM
F132378799: D31705.id94295.diff
Thu, Oct 16, 9:27 AM
F132378798: D31705.id94294.diff
Thu, Oct 16, 9:27 AM
Unknown Object (File)
Wed, Oct 15, 9:46 PM
Unknown Object (File)
Sun, Sep 28, 1:54 PM
Unknown Object (File)
Sep 11 2025, 6:18 AM
Unknown Object (File)
Sep 4 2025, 11:57 PM
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