]> git.hungrycats.org Git - linux/commit
[PATCH] revert lazy readahead
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:11:52 +0000 (05:11 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:11:52 +0000 (05:11 -0800)
commitded29eb19869805d3ea7cfb4a6257f61f6873bab
tree8741071cb20d451971c353ef6e6aa363e8b94fe6
parent2fd5058589fd9d453a5dceefbcb4c5c5b1b7ef11
[PATCH] revert lazy readahead

From: Trond Myklebust <trond.myklebust@fys.uio.no>

The following reversion is what fixes my regression.  That puts the
sequential read numbers back to the 2.6.0 values of ~140MB/sec (from the
current 2.6.1 values of 14MB/second)...

We were triggering I/O of the `ahead' when we hit the last page in the
`current' window.  That's bad because it gives no pipelining at all.

So go back to full pipelining.

It's not at all clear why this change made a 10x difference in NFS
throughput.
mm/readahead.c