]> git.baikalelectronics.ru Git - kernel.git/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)
commit0f83be483923a9f8077a38ea1e1eb1467e9b0086
treebaf7e79de006ca80eac426d2d1be4c52f5f19624
parentf432bc4094b90c66655d07040b04df15156bac94
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