]> err.no Git - linux-2.6/commit
readahead: split ondemand readahead interface into two functions
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 19 Jul 2007 08:48:08 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:44 +0000 (10:04 -0700)
commitcf914a7d656e62b9dd3e0dffe4f62b953ae6048d
treebaf7e79de006ca80eac426d2d1be4c52f5f19624
parentfe3cba17c49471e99d3421e675fc8b3deaaf0b70
readahead: split ondemand readahead interface into two functions

Split ondemand readahead interface into two functions.  I think this makes it
a little clearer for non-readahead experts (like Rusty).

Internally they both call ondemand_readahead(), but the page argument is
changed to an obvious boolean flag.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/dir.c
fs/ext4/dir.c
fs/splice.c
include/linux/mm.h
mm/filemap.c
mm/readahead.c