On Fri, Jul 19, 2019 at 02:51:44PM +0800, Qu Wenruo wrote:
> [BUG]
> Test case btrfs/156 fails since commit 302167c50b32 ("btrfs: don't end
> the transaction for delayed refs in throttle") with ENOSPC.
The commit that introduced the function btrfs_can_relocate is from 2009
and the commit mentions painc during balance when there's no space. This
was due to lack of error handling that is present now, so we don't
really need to check in advance.
I think it's safe, I'll add the patches to misc-next, thanks.