diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-04-04 17:55:49 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 21:54:32 +0200 |
commit | 98ad69cfd2ca8e27250af839bacda1639a7dc3a4 (patch) | |
tree | 4a659ebbbd366b0dd04923197509b7ccc578b8da /fs/btrfs/file.c | |
parent | Btrfs: fix error handling in make/read block group (diff) | |
download | linux-98ad69cfd2ca8e27250af839bacda1639a7dc3a4.tar.xz linux-98ad69cfd2ca8e27250af839bacda1639a7dc3a4.zip |
Btrfs: don't wait on ordered extents if we have a trans open
Dave was hitting a lockdep warning because we're now properly taking the ordered
operations mutex in the ordered wait stuff. This is because some cases we will
have a trans handle when we are flushing delalloc space, but we can't wait on
ordered extents because we could potentially deadlock, so fix this by not doing
the wait if we have a trans handle. Thanks
Reported-and-tested-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions