commit | 264ca0f60becac34395f3b42171ad0cc2e53ea6e | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Feb 17 17:25:51 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Mon Apr 13 07:27:24 2015 -0700 |
tree | ffe0eb263005f0e749f6a08e5f44763528b15d4d | |
parent | f2ab76188ec185dde84e7fe7c533ef2f5d668a32 [diff] |
btrfs: Adjust commit-transaction condition to avoid NO_SPACE more If we have any chance to make a successful write, we should not give up. This patch adjust commit-transaction condition from: pinned >= wanted to left + pinned >= wanted Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>