[lkml]   [2009]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fs: Fix busyloop in wb_writeback()
    On Wed, Sep 16 2009, Jan Kara wrote:
    > If all inodes are under writeback (e.g. in case when there's only one inode
    > with dirty pages), wb_writeback() with WB_SYNC_NONE work basically degrades
    > to busylooping until I_SYNC flags of the inode is cleared. Fix the problem by
    > waiting on I_SYNC flags of an inode on b_more_io list in case we failed to
    > write anything.

    Interesting, so this will happen if the dirtier and flush thread end up
    "fighting" each other over the same inode. I'll throw this into the
    testing mix.

    How did you notice?

    Jens Axboe

     \ /
      Last update: 2009-09-16 20:43    [W:0.029 / U:22.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site