[PATCH 06/10] readahead: remove the local copy of ra in do_generic_mapping_read()

2007-07-23 Thread Fengguang Wu
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

[PATCH 06/10] readahead: remove the local copy of ra in do_generic_mapping_read()

2007-07-23 Thread Fengguang Wu
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