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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/