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)
Sun, Aug 2, 9:37 AM
Unknown Object (File)
Sat, Aug 1, 11:23 AM
Unknown Object (File)
Fri, Jul 31, 4:55 PM
Unknown Object (File)
Fri, Jul 31, 12:35 PM
Unknown Object (File)
Thu, Jul 30, 10:46 PM
Unknown Object (File)
Thu, Jul 30, 12:53 PM
Unknown Object (File)
Tue, Jul 28, 8:56 PM
Unknown Object (File)
Sun, Jul 26, 10:25 PM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40840
Build 37729: arc lint + arc unit

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
2479

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.