commit | 7ee9e4405f264e9eda808aa5ca4522746a1af9c1 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Fri Jun 21 16:37:03 2013 -0400 |
committer | Josef Bacik <jbacik@fusionio.com> | Tue Jul 02 11:50:45 2013 -0400 |
tree | 66b0ebcb2594309044e3f25ab6836b09662c7601 | |
parent | 925a6efb8ff0c2bdbec107ed9890e62650c83306 [diff] |
Btrfs: check if we can nocow if we don't have data space We always just try and reserve data space when we write, but if we are out of space but have prealloc'ed extents we should still successfully write. This patch will try and see if we can write to prealloc'ed space and if we can go ahead and allow the write to continue. With this patch we now pass xfstests generic/274. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>