From: Wu Fengguang Date: Wed, 11 Aug 2010 21:17:41 +0000 (-0700) Subject: writeback: don't redirty tail an inode with dirty pages X-Git-Tag: v2.6.36-rc1~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23539afc71937dbaca7de2229669f4475ff4ea7b;p=pandora-kernel.git writeback: don't redirty tail an inode with dirty pages Avoid delaying writeback for an expire inode with lots of dirty pages, but no active dirtier at the moment. Previously we only do that for the kupdate case. Any filesystem that does delayed allocation or unwritten extent conversion after IO completion will cause this - for example, XFS. Signed-off-by: Wu Fengguang Acked-by: Jan Kara Cc: Dave Chinner Cc: Christoph Hellwig Cc: Dave Chinner Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed