Fengguang Wu 7ff81078d8 readahead: remove the local copy of ra in do_generic_mapping_read()
The local copy of ra in do_generic_mapping_read() can now go away.

It predates readanead(req_size).  In a time when the readahead code was called
on *every* single page.  Hence a local has to be made to reduce the chance of
the readahead state being overwritten by a concurrent reader.  More details
in: Linux: Random File I/O Regressions In 2.6
<http://kerneltrap.org/node/3039>

Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:42:52 -07:00
..
2007-07-19 10:04:41 -07:00
2007-07-17 10:22:59 -07:00
2007-10-16 09:42:52 -07:00
2007-10-14 12:41:51 -07:00
2007-02-15 09:57:03 -08:00
2007-07-19 10:04:45 -07:00
2007-05-21 09:18:19 -07:00
2007-07-31 15:39:36 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-10-16 09:42:52 -07:00
2007-07-21 17:49:16 -07:00
2007-10-16 09:42:52 -07:00
2007-07-18 08:47:39 -07:00
2007-07-29 17:09:29 -07:00