diff options
| author | 2015-02-17 17:25:51 +0800 | |
|---|---|---|
| committer | 2015-04-13 07:27:24 -0700 | |
| commit | 264ca0f60becac34395f3b42171ad0cc2e53ea6e (patch) | |
| tree | ffe0eb263005f0e749f6a08e5f44763528b15d4d /include/linux/debugobjects.h | |
| parent | btrfs: Fix tail space processing in find_free_dev_extent() (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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
