Messages in this thread Patch in this message | | | Date | Fri, 28 Dec 2007 21:41:24 +0800 | From | Fengguang Wu <> | 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)) --
| |