4 ms·
> readdirplus Well, it definitely does _something_, because on NFS the subsequent stat() calls after reading the directory names do indeed complete instantly :
by nasretdinov 10mo ago
> readdirplus
Well, it definitely does _something_, because on NFS the subsequent stat() calls after reading the directory names do indeed complete instantly :), at least in my testing.
- loeg 10mo agoI mean, readdirplus as a local filesystem API. Ultimately unix programs are just invoking getdents() (or equivalent) + stat() (or statx, whatever). Linux nfsclient probably caches the result of readdirplus for subsequent stat.