Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
F169288926: D31705.id94294.diff
Tue, Sep 1, 3:31 AM
F169259324: D31705.id.diff
Tue, Sep 1, 2:10 AM
Unknown Object (File)
Mon, Aug 31, 7:05 AM
Unknown Object (File)
Sun, Aug 30, 5:06 PM
Unknown Object (File)
Sun, Aug 30, 12:28 PM
Unknown Object (File)
Sun, Aug 30, 6:35 AM
Unknown Object (File)
Sat, Aug 29, 10:00 PM
Unknown Object (File)
Fri, Aug 28, 11:47 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