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 43/45] writeback: requeue_io_wait() on fs redirtied inode
    When an inodes is redirtied by the filesystem, its
    dirty time shall not be updated.

    Cc: Jan Kara <jack@suse.cz>
    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:53.000000000 +0800
    +++ linux/fs/fs-writeback.c 2009-10-07 14:32:54.000000000 +0800
    @@ -598,7 +598,7 @@ writeback_single_inode(struct inode *ino
    * At least XFS will redirty the inode during the
    * writeback (delalloc) and on io completion (isize).
    */
    - redirty_tail(inode);
    + requeue_io_wait(inode);
    } else if (atomic_read(&inode->i_count)) {
    /*
    * The inode is clean, inuse



    \
     
     \ /
      Last update: 2009-10-07 10:15    [W:4.176 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site