Files
DroidDeck/docs
maxjivi05 b78b19497d Read subfolders ahead after slow listings on removable storage
Wine lists each folder with opendir(".") after fchdir, so the Steam
client's listing cache never applied to programs on the card, and the
cost there is the first cold read of each folder rather than repeats.

dircache.c now times readdir in every program. A call of 20 ms or more
on FUSE, exFAT, FAT, NTFS3 or sdcardfs, in a program that already runs
more than one thread, queues that listing's subfolders for three
background readers, and a program listing a folder that was read ahead
queues its subfolders in turn. The readers only read directories, so
nothing a program sees can be stale. DD_NO_DIR_PREFETCH=1 turns it off.
2026-11-25 23:04:46 -05:00
..