From: Jan Kara Date: Thu, 26 Mar 2009 12:08:04 +0000 (+0100) Subject: ext3: Avoid starting a transaction in writepage when not necessary X-Git-Tag: v2.6.30-rc1~668 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e80d407736161d9b8b0c5a0d44f786e44c322ea;p=pandora-kernel.git ext3: Avoid starting a transaction in writepage when not necessary We don't have to start a transaction in writepage() when all the blocks are a properly allocated. Even in ordered mode either the data has been written via write() and they are thus already added to transaction's list or the data was written via mmap and then it's random in which transaction they get written anyway. This should help VM to pageout dirty memory without blocking on transaction commits. Signed-off-by: Jan Kara Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed