lkml.org 
[lkml]   [2007]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 09/11] writeback: replace redirty_tail() on memory-backed bdi
    Replace redirty_tail() with queue_dirty() on memory backed bdi.

    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-2.6.24-rc6-mm1.orig/fs/fs-writeback.c
    +++ linux-2.6.24-rc6-mm1/fs/fs-writeback.c
    @@ -400,11 +400,11 @@ int generic_sync_sb_inodes(struct super_
    struct backing_dev_info *bdi = mapping->backing_dev_info;
    long pages_skipped;
    int err;

    if (!bdi_cap_writeback_dirty(bdi)) {
    - redirty_tail(inode);
    + queue_dirty(inode);
    if (sb_is_blkdev_sb(sb)) {
    /*
    * Dirty memory-backed blockdev: the ramdisk
    * driver does this. Skip just this inode
    */
    --


    \
     
     \ /
      Last update: 2007-12-28 14:57    [W:0.019 / U:122.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site