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

Add FUSE_READDIRPLUS support #108

Open
asomers opened this issue Mar 7, 2024 · 0 comments
Open

Add FUSE_READDIRPLUS support #108

asomers opened this issue Mar 7, 2024 · 0 comments

Comments

@asomers
Copy link
Collaborator

asomers commented Mar 7, 2024

Currently, an ls -l command must issue at least one FUSE_READDIR operation followed by many FUSE_LOOKUP operations. Each of the FUSE_LOOKUP operations requires re-reading the directory's inode and at least some of its directory blocks. That's a lot of redundant disk reads. We should consider adding support for the FUSE_READDIRPLUS operation, which combines READDIR and LOOKUP. That would significantly reduce the number of disk reads. OTOH, #107 would also reduce the number of disk reads. FUSE_READDIRPLUS may not be necessary after completing #107 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant