fuse icon indicating copy to clipboard operation
fuse copied to clipboard

support for readdirplus

Open DeDeRon opened this issue 9 years ago • 6 comments

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

DeDeRon avatar Jul 29 '16 15:07 DeDeRon

Would love to. https://github.com/bazil/fuse/issues/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.

tv42 avatar Jul 29 '16 16:07 tv42

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

jimyx17 avatar Jan 23 '18 12:01 jimyx17

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

chrislusf avatar Feb 09 '22 03:02 chrislusf

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

tv42 avatar Feb 09 '22 15:02 tv42

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

chrislusf avatar Feb 09 '22 16:02 chrislusf

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 avatar Feb 09 '22 17:02 tv42