Page MenuHomeFreeBSD

vfs: Introduce vn_bmap_seekhole_locked()
ClosedPublic

Authored by khng on Aug 4 2021, 2:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 6 2024, 3:48 AM
Unknown Object (File)
Oct 5 2024, 10:46 AM
Unknown Object (File)
Oct 4 2024, 11:56 AM
Unknown Object (File)
Oct 3 2024, 3:54 PM
Unknown Object (File)
Oct 3 2024, 8:33 AM
Unknown Object (File)
Oct 3 2024, 6:33 AM
Unknown Object (File)
Oct 2 2024, 7:22 PM
Unknown Object (File)
Sep 30 2024, 2:16 AM
Subscribers

Details

Summary

vn_bmap_seekhole_locked() is factored out version of vn_bmap_seekhole().
This variant requires shared vnode lock being held around the call.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

khng requested review of this revision.Aug 4 2021, 2:28 AM
khng planned changes to this revision.Aug 4 2021, 2:39 AM

Fixed mangled git commit order.

markj added inline comments.
sys/kern/vfs_vnops.c
2466

This is the only place that really needs a goto, the rest can return (mumble). I don't insist on changing the diff, though.

This revision is now accepted and ready to land.Aug 4 2021, 3:12 AM
This revision was automatically updated to reflect the committed changes.