8000 VFS name cache · Issue #7 · Keyronex/keyronex-archive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

VFS name cache #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up 8000 for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
netbsduser opened this issue May 3, 2023 · 0 comments
Open

VFS name cache #7

netbsduser opened this issue May 3, 2023 · 0 comments

Comments

@netbsduser
Copy link

Directory lookup is completely uncached at the moment and goes through the filesystem's lookup vnode op every time.

We want a namecache which can probably be a hashtable or tree attached to every directory vnode. Namecache elements should constitute references to vnodes which eliminates some lock ordering trickiness. A .. element can be pinned for every directory since the filesystems we care about don't permit directory hardlinks (which makes a parent element for non-directory vnodes more tricky.)

@netbsduser netbsduser transferred this issue from Keyronex/Keyronex Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0