lkml.org 
[lkml]   [2010]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 7/8] writeback: sync old inodes first in background writeback
    Sorry, please ignore this hack, it's non sense..

    >
    > --- linux-next.orig/mm/vmscan.c 2010-07-22 16:36:58.000000000 +0800
    > +++ linux-next/mm/vmscan.c 2010-07-22 16:39:57.000000000 +0800
    > @@ -1217,7 +1217,8 @@ static unsigned long shrink_inactive_lis
    > count_vm_events(PGDEACTIVATE, nr_active);
    >
    > nr_freed += shrink_page_list(&page_list, sc,
    > - PAGEOUT_IO_SYNC);
    > + priority < DEF_PRIORITY / 3 ?
    > + PAGEOUT_IO_SYNC : PAGEOUT_IO_ASYNC);
    > }
    >
    > nr_reclaimed += nr_freed;

    Thanks,
    Fengguang



    \
     
     \ /
      Last update: 2010-07-22 11:05    [W:0.022 / U:0.844 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site