Andrew,
With the help from Rusty, the interface and data structure of ondemand
readahead are made more clear:
readahead: split ondemand readahead interface into two functions
readahead: sanify file_ra_state names
diffstat:
fs/ext3/dir.c | 4 -
fs/ext4/dir.c | 4 -
fs/splice.c | 6 -
include/linux/fs.h | 61 +--------------
include/linux/mm.h | 20 +++--
mm/filemap.c | 10 +-
mm/readahead.c | 165 +++++++++++++++++++++----------------------
7 files changed, 116 insertions(+), 154 deletions(-)
Regards,
Fengguang