> I guess it would be difficult to get close to the optimal disk schedule by
It wouldn't even get to the I/O scheduler. The VFS stat path (see
real_lookup()) is synchronous and serialized. Each stat will hold the
i_mutex of the parent directory while it waits for the file system's
lookup method to populate the inode from disk.
- z
--