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)
Sat, Nov 15, 11:39 AM
Unknown Object (File)
Sat, Nov 15, 5:19 AM
Unknown Object (File)
Thu, Nov 13, 8:11 PM
Unknown Object (File)
Thu, Nov 6, 2:41 AM
Unknown Object (File)
Wed, Nov 5, 9:17 PM
Unknown Object (File)
Sat, Nov 1, 12:23 AM
Unknown Object (File)
Fri, Oct 31, 1:29 AM
Unknown Object (File)
Thu, Oct 30, 12:54 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