Re: [PATCH v2] btrfs: fix BUG trying to resume balance without resume flag

2018-05-17 Thread Anand Jain
On 05/16/2018 10:35 PM, David Sterba wrote: On Mon, Apr 30, 2018 at 05:48:45PM +0800, Anand Jain wrote: We set the BTRFS_BALANCE_RESUME flag in the btrfs_recover_balance(), which is not called during the remount. So when resuming from the paused balance we hit BUG. kernel: kernel BUG at

Re: [PATCH v2] btrfs: fix BUG trying to resume balance without resume flag

2018-05-16 Thread David Sterba
On Mon, Apr 30, 2018 at 05:48:45PM +0800, Anand Jain wrote: > We set the BTRFS_BALANCE_RESUME flag in the btrfs_recover_balance(), > which is not called during the remount. So when resuming from the > paused balance we hit BUG. > > kernel: kernel BUG at fs/btrfs/volumes.c:3890! > :: > kernel:

Re: [PATCH v2] btrfs: fix BUG trying to resume balance without resume flag

2018-04-30 Thread kbuild test robot
Hi Anand, Thank you for the patch! Yet something to improve: [auto build test ERROR on btrfs/next] [also build test ERROR on v4.17-rc3 next-20180430] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2] btrfs: fix BUG trying to resume balance without resume flag

2018-04-30 Thread kbuild test robot
Hi Anand, Thank you for the patch! Yet something to improve: [auto build test ERROR on btrfs/next] [also build test ERROR on v4.17-rc3 next-20180430] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2] btrfs: fix BUG trying to resume balance without resume flag

2018-04-30 Thread Anand Jain
We set the BTRFS_BALANCE_RESUME flag in the btrfs_recover_balance(), which is not called during the remount. So when resuming from the paused balance we hit BUG. kernel: kernel BUG at fs/btrfs/volumes.c:3890! :: kernel: balance_kthread+0x51/0x60 [btrfs] kernel: kthread+0x111/0x130 ::