diff options
author | Sage Weil <sage@newdream.net> | 2009-09-29 18:38:44 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-09-29 19:50:07 -0400 |
commit | dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14 (patch) | |
tree | 2168da63d84f05106b2aa8eb8f5cdc8859f1e176 /fs/btrfs/tree-log.c | |
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>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions