Page MenuHomeFreeBSD

(lookup 7) vfs: add support for !LOCKLEAF to lockless lookup
ClosedPublic

Authored by mjg on Mar 2 2020, 5:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 7 2024, 9:53 AM
Unknown Object (File)
Dec 25 2023, 10:26 AM
Unknown Object (File)
Dec 22 2023, 11:49 PM
Unknown Object (File)
Dec 12 2023, 12:56 PM
Unknown Object (File)
Nov 2 2023, 8:02 PM
Unknown Object (File)
Oct 28 2023, 6:51 AM
Unknown Object (File)
Oct 13 2023, 4:13 PM
Unknown Object (File)
Sep 7 2023, 12:10 AM
Subscribers

Details

Summary

Regular lookup always locks vnodes, which means if LOCKLEAF is not specified it has to unlock.

Since fast path does not lock upfront we can just check what needs to be done. New vget variant is introduced to elide locking.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mjg edited the summary of this revision. (Show Details)
  • rebase
mjg retitled this revision from vfs: add support for !LOCKLEAF to fast path lookup to (lookup 7) vfs: add support for !LOCKLEAF to lockless lookup.
mjg added a reviewer: markj.
  • rebase
This revision was not accepted when it landed; it landed in state Needs Review.Jul 25 2020, 10:41 AM
This revision was automatically updated to reflect the committed changes.