btrfs_relocate_chunk() can fail with -EAGAIN when e.g. send operations are
running. The message can fail btrfs/187 and it's unnecessary because we
anyway add it back to the reclaim list.
Cc: Johannes Thumshirn <redacted>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
---
fs/btrfs/block-group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Johannes Thumshirn <hidden> Date: 2021-08-10 10:31:56
For those following along at home:
btrfs_reclaim_bgs_work()
`-> btrfs_relocate_chunk()
`-> btrfs_relocate_block_group()
`-> reloc_chunk_start()
`-> if (fs_info->send_in_progress)
`-> return -EAGAIN
Looks good,
Reviewed-by: Johannes Thumshirn <redacted>
From: Johannes Thumshirn <hidden> Date: 2021-08-10 11:25:29
On 10/08/2021 12:32, Johannes Thumshirn wrote:
For those following along at home:
btrfs_reclaim_bgs_work()
`-> btrfs_relocate_chunk()
`-> btrfs_relocate_block_group()
`-> reloc_chunk_start()
`-> if (fs_info->send_in_progress)
`-> return -EAGAIN
Looks good,
Reviewed-by: Johannes Thumshirn <redacted>
Totally forgot, this should probably also have:
Fixes: 18bb8bbf13c1 ("btrfs: zoned: automatically reclaim zones")
From: David Sterba <hidden> Date: 2021-08-10 13:53:46
On Mon, Aug 09, 2021 at 01:32:30PM +0900, Naohiro Aota wrote:
btrfs_relocate_chunk() can fail with -EAGAIN when e.g. send operations are
running. The message can fail btrfs/187 and it's unnecessary because we
anyway add it back to the reclaim list.
Cc: Johannes Thumshirn <redacted>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
With the stacktrace and Fixes: added to misc-next, thanks.