Skip to content
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 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

VFS name cache #15

Open
Tracked by #16
netbsduser opened this issue May 3, 2023 · 0 comments
Open
Tracked by #16

VFS name cache #15

netbsduser opened this issue May 3, 2023 · 0 comments
Labels
FS Related to VFS or FS drivers

Comments

@netbsduser
Copy link
Contributor

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 added the FS Related to VFS or FS drivers label May 3, 2023
This was referenced May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FS Related to VFS or FS drivers
Projects
None yet
Development

No branches or pull requests

1 participant