Please note you don't _have_ to call stat() in the order returned by
readdir(). If you sort by inode number first, then on almost all
filesystems you'll get a speedup because that usually sorts the disk
accesses.
[Plug: http://www.tantalophile.demon.co.uk/treescan/ANNOUNCE]
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/