commit | dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Sep 29 18:38:44 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Sep 29 19:50:07 2009 -0400 |
tree | 2168da63d84f05106b2aa8eb8f5cdc8859f1e176 | |
parent | 1ab86aedbc7845a946b4ba4edf37762629970708 [diff] |
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 <sage@newdream.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>