diff options
author | Sage Weil <sage@newdream.net> | 2009-09-30 00:38:44 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-09-30 01:50:07 +0200 |
commit | dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14 (patch) | |
tree | 2168da63d84f05106b2aa8eb8f5cdc8859f1e176 /fs/read_write.c | |
parent | Btrfs: fix error cases for ioctl transactions (diff) | |
download | linux-dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14.tar.xz linux-dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14.zip |
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/read_write.c')
0 files changed, 0 insertions, 0 deletions