From: Chris Mason Date: Thu, 17 Jul 2008 16:54:14 +0000 (-0400) Subject: btrfs_start_transaction: wait for commits in progress to finish X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9295749388f82c8d2f485e99c72cd7c7876a99b;p=pandora-kernel.git btrfs_start_transaction: wait for commits in progress to finish btrfs_commit_transaction has to loop waiting for any writers in the transaction to finish before it can proceed. btrfs_start_transaction should be polite and not join a transaction that is in the process of being finished off. There are a few places that can't wait, basically the ones doing IO that might be needed to finish the transaction. For them, btrfs_join_transaction is added. Signed-off-by: Chris Mason --- Reading git-diff-tree failed