From: Yan, Zheng Date: Thu, 12 Nov 2009 09:33:26 +0000 (+0000) Subject: Btrfs: Avoid superfluous tree-log writeout X-Git-Tag: v2.6.33-rc1~7^2~1^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cef4e160d74920ad1725f58c89fd75ec4c4ac38;p=pandora-kernel.git Btrfs: Avoid superfluous tree-log writeout We allow two log transactions at a time, but use same flag to mark dirty tree-log btree blocks. So we may flush dirty blocks belonging to newer log transaction when committing a log transaction. This patch fixes the issue by using two flags to mark dirty tree-log btree blocks. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed