From: Fengguang Wu Date: Tue, 16 Oct 2007 08:24:35 +0000 (-0700) Subject: readahead: remove the local copy of ra in do_generic_mapping_read() X-Git-Tag: v2.6.24-rc1~1232 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ff81078d8b9f3d05a27b7bd3786ffb1ef1b0d1f;p=pandora-kernel.git 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 Cc: Nick Piggin Signed-off-by: Fengguang Wu Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed