[PATCH 41/45] writeback: requeue_io_wait() on pages_skipped inode
From: Wu Fengguang
Date: Wed Oct 07 2009 - 04:05:57 EST
Use requeue_io_wait() if some pages were skipped due to locked buffers.
Cc: Dave Chinner <david@xxxxxxxxxxxxx>
Cc: Michael Rubin <mrubin@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Signed-off-by: Fengguang Wu <wfg@xxxxxxxxxxxxxxxx>
---
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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/