summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorFengguang Wu <wfg@mail.ustc.edu.cn>2007-10-16 10:24:35 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 18:42:52 +0200
commit7ff81078d8b9f3d05a27b7bd3786ffb1ef1b0d1f (patch)
treeac73cf0c8325783a28c4d16c783f6fd96d17be7c /mm/readahead.c
parentreadahead: basic support of interleaved reads (diff)
downloadlinux-7ff81078d8b9f3d05a27b7bd3786ffb1ef1b0d1f.tar.xz
linux-7ff81078d8b9f3d05a27b7bd3786ffb1ef1b0d1f.zip
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>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions