Posted Feb 5, 2010 14:10 UTC (Fri) by corbet
In reply to: Pathological cases
Parent article: Improving readahead
Yes, the readahead code tracks hits and stops trying when the program skips around a lot - that happens now. One other little heuristic in this patch set that I didn't work into the article is a tweak which suppresses readahead when the application seeks to the beginning of the file. That should nicely take care of the "update the header" case described here.
to post comments)