Re: [PATCH] btrfs: zoned: fix unpaired block group unfreeze during device replace

2021-04-14 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kdave/for-next] [also build test WARNING on v5.12-rc7 next-20210414] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented i

Re: [PATCH] btrfs: zoned: fix unpaired block group unfreeze during device replace

2021-04-14 Thread Filipe Manana
On Wed, Apr 14, 2021 at 1:35 PM Johannes Thumshirn wrote: > > On 14/04/2021 14:09, fdman...@kernel.org wrote: > > From: Filipe Manana > > > > When doing a device replace on a zoned filesystem, if we find a block > > group with ->to_copy == 0, we jump to the label 'done', which will result > > in

Re: [PATCH] btrfs: zoned: fix unpaired block group unfreeze during device replace

2021-04-14 Thread Johannes Thumshirn
On 14/04/2021 14:09, fdman...@kernel.org wrote: > From: Filipe Manana > > When doing a device replace on a zoned filesystem, if we find a block > group with ->to_copy == 0, we jump to the label 'done', which will result > in later calling btrfs_unfreeze_block_group(), even though at this point >

[PATCH] btrfs: zoned: fix unpaired block group unfreeze during device replace

2021-04-14 Thread fdmanana
From: Filipe Manana When doing a device replace on a zoned filesystem, if we find a block group with ->to_copy == 0, we jump to the label 'done', which will result in later calling btrfs_unfreeze_block_group(), even though at this point we never called btrfs_freeze_block_group(). Since at this p