]> git.neil.brown.name Git - history.git/commit
[PATCH] readahead: simplify recent fixes
authorRam Pai <linuxram@us.ibm.com>
Mon, 23 Aug 2004 06:06:22 +0000 (23:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:06:22 +0000 (23:06 -0700)
commitda7d2464fb14a0e7240ed55c4cba79a9d471ba94
treeba193cde979f83baad7c3fac85f8140e7dd72a94
parent1c0de4f60066bc2e7789000bc6edb02ecba9f6e7
[PATCH] readahead: simplify recent fixes

Ok I have enclosed the results for the recent readahead fixes.  The summary
is: there is no significant improvement or decrease in performance of (DSS
workload, iozone, sysbench) The increase or decrease is in the margin of
errors.

I have enclosed a patch that partially backs off Miklos's fix.  Shane
Shrybman correctly pointed out that the real fix is to set ra->average
value to max/2 when we move from readahead-off mode to readahead-on mode.
The other part of Miklos's fix becomes irrelevent.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/readahead.c