From: Sage Weil Date: Tue, 29 Sep 2009 22:38:44 +0000 (-0400) Subject: Btrfs: fix deadlock with free space handling and user transactions X-Git-Tag: v2.6.32-rc3~13^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14;p=pandora-kernel.git Btrfs: fix deadlock with free space handling and user transactions If an ioctl-initiated transaction is open, we can't force a commit during the free space checks in order to free up pinned extents or else we deadlock. Just ENOSPC instead. A more satisfying solution that reserves space for the entire user transaction up front is forthcoming... Signed-off-by: Sage Weil Signed-off-by: Chris Mason --- Reading git-diff-tree failed