Re: [PATCH v2] fstests: btrfs: Add test for corrupted childless qgroup numbers

2018-08-10 Thread Filipe Manana
On Fri, Aug 10, 2018 at 3:20 AM, Qu Wenruo wrote: > This bug is exposed by populating a high level qgroup, and then make it > childless with old qgroup numbers, and finally do rescan. > > Normally rescan should zero out all qgroups' accounting number, but due > to a kernel bug which won't mark

[PATCH v2] fstests: btrfs: Add test for corrupted childless qgroup numbers

2018-08-09 Thread Qu Wenruo
This bug is exposed by populating a high level qgroup, and then make it childless with old qgroup numbers, and finally do rescan. Normally rescan should zero out all qgroups' accounting number, but due to a kernel bug which won't mark childless qgroups dirty, their on-disk data is never updated,