RE: [PATCH 01/10] btrfs: Adjust commit-transaction condition to avoid NO_SPACE more

2015-02-17 Thread Zhao Lei
Hi, > From: Zhaolei [mailto:zhao...@cn.fujitsu.com] > Subject: [PATCH 01/10] btrfs: Adjust commit-transaction condition to avoid > NO_SPACE more Sorry for title, it is only one patch. Will resend. Thanks Zhaolei > > From: Zhao Lei > > If we have any chance to make a

[PATCH 01/10] btrfs: Adjust commit-transaction condition to avoid NO_SPACE more

2015-02-17 Thread Zhaolei
From: Zhao Lei 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 --- fs/btrfs/extent-tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(