logoalt Hacker News

loegyesterday at 8:23 PM1 replyview on HN

You could imagine determining from the parsed expression whether or not stat'ing was required.

NFS has readdirplus, but I don't think it ever made its way into Linux/POSIX. (Some filesystems could efficiently return dirents + stat information.)


Replies

nasretdinovyesterday at 8:59 PM

> 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.

show 1 reply