« Return to Thread: Getattr called on every file following a readdir

Getattr called on every file following a readdir

by Pete Wyckoff-2 :: Rate this Message:

Reply to Author | View in Thread


Hi,

For some reason, FUSE (2.7.3 on Linux Kernel 2.6.12) is calling getattr for
every file after a readdir which gave it the same information using the
filler function and stat structures.

It does not do this for sub-directories, just files in the directory.

It's killing me for directories with 10s of thousands of files.

Is there some option to set or do I need a newer Kernel or maybe I'm not
supplying the right info in readdir?

Thanks, pete


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

 « Return to Thread: Getattr called on every file following a readdir

LightInTheBox - Buy quality products at wholesale price!