Page MenuHomeFreeBSD

vfs: Introduce vn_bmap_seekhole_locked()
ClosedPublic

Authored by khng on Aug 4 2021, 2:28 AM.
Tags
None
Referenced Files
F139408891: D31404.id.diff
Thu, Dec 11, 6:35 PM
F139393173: D31404.id93205.diff
Thu, Dec 11, 3:23 PM
Unknown Object (File)
Sun, Dec 7, 8:06 PM
Unknown Object (File)
Fri, Dec 5, 10:43 PM
Unknown Object (File)
Fri, Dec 5, 5:38 AM
Unknown Object (File)
Fri, Dec 5, 1:29 AM
Unknown Object (File)
Thu, Dec 4, 9:42 AM
Unknown Object (File)
Tue, Dec 2, 10:26 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40843
Build 37732: 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
2477

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.