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, Sep 28, 1:54 PM
Unknown Object (File)
Sep 11 2025, 6:18 AM
Unknown Object (File)
Sep 4 2025, 11:57 PM
Unknown Object (File)
Sep 1 2025, 2:10 AM
Unknown Object (File)
Aug 28 2025, 1:27 AM
Unknown Object (File)
Aug 18 2025, 12:00 AM
Unknown Object (File)
Aug 17 2025, 12:58 PM
Unknown Object (File)
Aug 4 2025, 3:55 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