lkml.org 
[lkml]   [2010]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/5] writeback: stop background/kupdate works from livelocking other works
    Jan, the below comment is also updated, please double check.

    >
    > /*
    > + * Background writeout and kupdate-style writeback may
    > + * run forever. Stop them if there is other work to do
    > + * so that e.g. sync can proceed. They'll be restarted
    > + * after the other works are all done.
    > + */
    > + if ((work->for_background || work->for_kupdate) &&
    > + !list_empty(&wb->bdi->work_list))
    > + break;
    > +
    > + /*
    > * For background writeout, stop when we are below the
    > * background dirty threshold
    > */
    >


    \
     
     \ /
      Last update: 2010-11-10 04:57    [W:0.020 / U:0.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site