diff options
author | Sage Weil <sage@newdream.net> | 2009-09-29 22:38:44 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-09-29 23:50:07 (GMT) |
commit | dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14 (patch) | |
tree | 2168da63d84f05106b2aa8eb8f5cdc8859f1e176 /include | |
parent | 1ab86aedbc7845a946b4ba4edf37762629970708 (diff) | |
download | linux-dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14.tar.xz |
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 'include')
0 files changed, 0 insertions, 0 deletions