Re: [PATCH 0/8] Misc improvements to dev-replace code

2019-05-28 Thread David Sterba
On Tue, May 14, 2019 at 01:54:37PM +0300, Nikolay Borisov wrote: > While fixing the failing ASSERT in device replace finishing procedure I also > found several oddities/bugs. Here is the resultant pile. > > First 3 patches are a couple simple cleanups. > > Patch 4 fixes a real bug since btrfs_in

[PATCH 0/8] Misc improvements to dev-replace code

2019-05-14 Thread Nikolay Borisov
While fixing the failing ASSERT in device replace finishing procedure I also found several oddities/bugs. Here is the resultant pile. First 3 patches are a couple simple cleanups. Patch 4 fixes a real bug since btrfs_init_dev_replace_tgtdev accesses values which might be updated by transaction c