Re: [PATCH] Btrfs-progs: mkfs, fix metadata corruption when using mixed mode

2019-07-25 Thread David Sterba
On Thu, Jul 25, 2019 at 11:27:17AM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > When creating a filesystem with mixed block groups, we are creating two > space info objects to track used/reserved/pinned space, one only for data > and another one only for metadata. > > This is maki

Re: [PATCH] Btrfs-progs: mkfs, fix metadata corruption when using mixed mode

2019-07-25 Thread Qu Wenruo
On 2019/7/25 下午6:27, fdman...@kernel.org wrote: > From: Filipe Manana > > When creating a filesystem with mixed block groups, we are creating two > space info objects to track used/reserved/pinned space, one only for data > and another one only for metadata. > > This is making fstests test cas

[PATCH] Btrfs-progs: mkfs, fix metadata corruption when using mixed mode

2019-07-25 Thread fdmanana
From: Filipe Manana When creating a filesystem with mixed block groups, we are creating two space info objects to track used/reserved/pinned space, one only for data and another one only for metadata. This is making fstests test case generic/416 fail, with btrfs' check reporting over an hundred