Re: [PATCH 2/2] btrfs: try to write enough delalloc bytes when reclaiming metadata space

2016-10-07 Thread Josef Bacik
On 09/21/2016 02:59 AM, Wang Xiaoguang wrote: Indeed as long as we have delalloc bytes and if we fail to reclaim requested metadata space, we should write these delalloc bytes and have one more try, this can fix some false enospc errors in some extreme cases. Signed-off-by: Wang Xiaoguang ---

[PATCH 2/2] btrfs: try to write enough delalloc bytes when reclaiming metadata space

2016-09-21 Thread Wang Xiaoguang
Indeed as long as we have delalloc bytes and if we fail to reclaim requested metadata space, we should write these delalloc bytes and have one more try, this can fix some false enospc errors in some extreme cases. Signed-off-by: Wang Xiaoguang --- fs/btrfs/extent-tree.c | 9 + 1 file cha