btrfs: zoned: requeue block group if zone reset bails out
btrfs_reset_unused_block_groups() drops the block-group from
fs_info->unused_bgs before performing the work that can actually fail,
the actual submission of a REQ_OP_ZONE_RESET.
Every failed operation after this leaves the block-group dangling,
physically reset, but the in-memory structures aren't and it is not
requeued to be reset on fs_info->unused_bgs.
Instead of bailing out, re-add this block-group to fs_info->unused_bgs
list.
Reviewed-by: Daniel Vacek <neelx@suse.com> Fixes: 453a73c3069a ("btrfs: zoned: reclaim unused zone by zone resetting") Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>