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

support for readdirplus #149

Open
DeDeRon opened this issue Jul 29, 2016 · 6 comments
Open

support for readdirplus #149

DeDeRon opened this issue Jul 29, 2016 · 6 comments

Comments

@DeDeRon
Copy link

DeDeRon commented Jul 29, 2016

hello,

are there any plans to support this request type? it would speed up reading directories a lot. in my case i have directories with 1000 files, so performance suffers from all the additional lookup requests.

regards,
heiko

@tv42
Copy link
Member

tv42 commented Jul 29, 2016

Would love to. #58 sits in the queue before it, though, and right now I'm in the middle of a very large refactor to clean up internals.

@jimyx17
Copy link

jimyx17 commented Jan 23, 2018

Is this going to be included in you'r new API/refactoring?
In some use cases readdirplus might speed up even further than #58 ...

@chrislusf
Copy link

Is this going to happen? I saw other library having it now. https://github.com/hanwen/go-fuse/blob/f57e95bda82d40dd4b2ceb1065fbd98c834ba23b/fuse/opcode.go#L60

@tv42
Copy link
Member

tv42 commented Feb 9, 2022

Are you working on it, or paying for it? Don't be an entitled brat.

@chrislusf
Copy link

I was planning to work on this if no new progress. Did you already have some thoughts/design/suggestions about it already?

@tv42
Copy link
Member

tv42 commented Feb 9, 2022

The assumptions of the current ReadDir behavior are pretty deeply written into the code I inherited. Step 1 is figuring out the right API, and the implications of that on current callers.

tv42 added a commit that referenced this issue Dec 10, 2022
FUSE_READDIRPLUS is negotiated by an init flag, so this chance doesn't
actually do anything.

FUSE_READDIRPLUS support will be implemented separately, tracked at
<#149>.
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

4 participants