[PATCH 10/14] readahead: state based method: protect against tiny size

2007-03-16 Thread Fengguang Wu
Move the tiny I/O size protection code from limit_rala() to state_based_readahead(). limit_rala() is also called by context based readahead, which has its own minimal readahead size. Signed-off-by: Fengguang Wu <[EMAIL PROTECTED]> --- mm/readahead.c | 14 +++--- 1 file changed, 7

[PATCH 10/14] readahead: state based method: protect against tiny size

2007-03-16 Thread Fengguang Wu
Move the tiny I/O size protection code from limit_rala() to state_based_readahead(). limit_rala() is also called by context based readahead, which has its own minimal readahead size. Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- mm/readahead.c | 14 +++--- 1 file changed, 7