phatina/simple-mtpfs

Support for READDIRPLUS

alexzeitgeist opened this issue · 1 comments

Hello,

When you try list a directory containing thousands of files (such as CAMERA), simple-mtpfs would do a fuse LOOKUP on every single file contained in that directory, resulting in a noticable delay. What's more, the result is not cached, so time you list that directory again directory it'll cause the delay.

Have you considered implementing a NFS-like READDIRPLUS, which combines the functionality of the READDIR and LOOKUP operations? To see the difference in speed, compare simple-mtpfs with go-mtpfs (which relies on go-fuse), where even large directories hardly take longer than 1s to list.

Cheers!

Hi, I haven't had time for this project for quite some time :( If you are willing to help, patches are welcome :) Sorry, I wasn't a help here.