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>
Showing
- fs/ext3/dir.c 2 additions, 2 deletionsfs/ext3/dir.c
- fs/ext4/dir.c 2 additions, 2 deletionsfs/ext4/dir.c
- fs/splice.c 3 additions, 3 deletionsfs/splice.c
- include/linux/mm.h 14 additions, 6 deletionsinclude/linux/mm.h
- mm/filemap.c 5 additions, 5 deletionsmm/filemap.c
- mm/readahead.c 59 additions, 38 deletionsmm/readahead.c
Loading
Please register or sign in to comment