From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: [PATCH 43/45] writeback: requeue_io_wait() on fs redirtied inode Date: Wed, 07 Oct 2009 15:39:01 +0800 Message-ID: <20091007074906.740925056@intel.com> References: <20091007073818.318088777@intel.com> Cc: Theodore Tso , Christoph Hellwig , Dave Chinner , Chris Mason , Peter Zijlstra , "Li Shaohua" , "Myklebust Trond" , "jens.axboe@oracle.com" , Jan Kara , Nick Piggin , , Michael Rubin , Peter Zijlstra To: Andrew Morton Return-path: Cc: Wu Fengguang , LKML Content-Disposition: inline; filename=writeback-remove-redirty-b.patch Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org When an inodes is redirtied by the filesystem, its dirty time shall not be updated. Cc: Jan Kara Cc: Dave Chinner Cc: Michael Rubin Cc: Peter Zijlstra Signed-off-by: Fengguang Wu --- 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