• Andrew Morton's avatar
    [PATCH] writeback livelock fix · 1ed73535
    Andrew Morton authored
    If a filesystem's ->writepage implementation repeatedly refuses to write the
    page (it keeps on redirtying it instead) (reiserfs seems to do this) then the
    writeback logic can get stuck repeately trying to write the same page.
    
    Fix that up by correctly setting wbc->pages_skipped, to tell the writeback
    logic that things aren't working out.
    1ed73535
buffer.c 79.7 KB