lkml.org 
[lkml]   [2009]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 41/45] writeback: requeue_io_wait() on pages_skipped inode
    Use requeue_io_wait() if some pages were skipped due to locked buffers.

    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Michael Rubin <mrubin@google.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
    ---
    fs/fs-writeback.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux.orig/fs/fs-writeback.c 2009-10-07 14:32:52.000000000 +0800
    +++ linux/fs/fs-writeback.c 2009-10-07 14:32:52.000000000 +0800
    @@ -727,7 +727,7 @@ static long writeback_inodes_wb(struct b
    * writeback is not making progress due to locked
    * buffers. Skip this inode for now.
    */
    - redirty_tail(inode);
    + requeue_io_wait(inode);
    }
    spin_unlock(&inode_lock);
    iput(inode);



    \
     
     \ /
      Last update: 2009-10-07 10:15    [W:0.020 / U:59.200 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site