Re: [PATCH v2 4/4] btrfs: volumes: Remove ENOSPC-prone btrfs_can_relocate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux