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)
Sun, Jun 28, 12:07 PM
Unknown Object (File)
Sat, Jun 27, 12:46 AM
Unknown Object (File)
Thu, Jun 25, 12:14 PM
Unknown Object (File)
Tue, Jun 23, 2:41 PM
Unknown Object (File)
Sun, Jun 14, 5:36 PM
Unknown Object (File)
Sun, Jun 14, 9:47 AM
Unknown Object (File)
Sun, Jun 14, 6:47 AM
Unknown Object (File)
Sat, Jun 13, 8:40 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable