commit | 067893842341e7b7487062367ecfaa46c97505e0 | [log] [tgz] |
---|---|---|
author | Liu Bo <liubo2009@cn.fujitsu.com> | Fri Jul 06 03:31:33 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Jul 23 16:28:01 2012 -0400 |
tree | 4e02d6bdb940623e11fd5b95d73a123ebc1a7de0 | |
parent | 83eea1f1bacd5dc7b44dcf84f5fdca54fdea5453 [diff] |
Btrfs: do not abort transaction in prealloc case During disk balance, we prealloc new file extent for file data relocation, but we may fail in 'no available space' case, and it leads to flipping btrfs into readonly. It is not necessary to bail out and abort transaction since we do have several ways to rescue ourselves from ENOSPC case. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>