Two paths to a better readdir()
Two paths to a better readdir()
Posted Jul 31, 2014 10:36 UTC (Thu) by niner (subscriber, #26151)Parent article: Two paths to a better readdir()
While dirreadahead certainly has its appeal due to its simplicity and maybe even better performance, but xstat could be useful in other use cases as well. For example we do lots of stat calls to compare mtimes of a source and a preprocessed cache file to detect if we have to re-process the source. In this case we know both file names and just need the mtime.
Posted Aug 1, 2014 2:36 UTC (Fri)
by adas (guest, #98126)
[Link]
Two paths to a better readdir()