Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
F168181111: D31705.id.diff
Wed, Aug 26, 6:12 PM
F168127769: D31705.diff
Wed, Aug 26, 12:26 PM
Unknown Object (File)
Tue, Aug 25, 9:24 AM
Unknown Object (File)
Tue, Aug 25, 2:29 AM
Unknown Object (File)
Tue, Aug 25, 1:24 AM
Unknown Object (File)
Mon, Aug 24, 3:31 PM
Unknown Object (File)
Mon, Aug 24, 12:38 PM
Unknown Object (File)
Sat, Aug 22, 4:58 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable