lkml.org 
[lkml]   [2009]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 4/9] readahead: increase interleaved readahead size
    Make sure interleaved readahead size is larger than request size.
    This also makes readahead window grow up more quickly.

    Reported-by: Xu Chenfeng <xcf@ustc.edu.cn>
    Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
    ---
    mm/readahead.c | 1 +
    1 file changed, 1 insertion(+)

    --- mm.orig/mm/readahead.c
    +++ mm/mm/readahead.c
    @@ -403,6 +403,7 @@ ondemand_readahead(struct address_space

    ra->start = start;
    ra->size = start - offset; /* old async_size */
    + ra->size += req_size;
    ra->size = get_next_ra_size(ra, max);
    ra->async_size = ra->size;
    goto readit;
    --



    \
     
     \ /
      Last update: 2009-04-10 08:21    [W:0.023 / U:33.648 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site