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 05/11] writeback: requeue_io_wait() on congested blockdev
    Convert to requeue_io_wait() for case:

    congested blockdev

    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
    @@ -413,11 +413,11 @@ int generic_sync_sb_inodes(struct super_

    if (wbc->nonblocking && bdi_write_congested(bdi)) {
    wbc->encountered_congestion = 1;
    if (!sb_is_blkdev_sb(sb))
    break; /* Skip a congested fs */
    - requeue_io(inode);
    + requeue_io_wait(inode);
    continue; /* Skip a congested blockdev */
    }

    if (wbc->bdi && bdi != wbc->bdi) {
    if (!sb_is_blkdev_sb(sb))
    --


    \
     
     \ /
      Last update: 2007-12-28 14:55    [W:5.132 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site