Files
apfstests/tests/btrfs
Qu Wenruo 55566e7f7c btrfs: Add test for corrupted childless qgroup numbers
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, thus old numbers remain and cause
qgroup corruption.

Fixed by the following kernel patch:
"btrfs: qgroup: Dirty all qgroups before rescan"

[Eryu: removed useless _filter_xfs_io]

Reported-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2018-08-19 20:10:58 +08:00
..
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2013-10-12 19:30:19 -05:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2013-12-03 10:29:29 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2014-02-03 10:06:14 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2016-01-11 15:05:20 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-10-14 14:19:34 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-01-27 16:06:12 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2014-08-13 10:59:59 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-04-01 11:32:01 +11:00
2015-04-01 11:35:44 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-09-21 13:06:18 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2016-07-19 12:20:43 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-02-15 18:02:15 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-11-15 14:45:24 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-03 22:16:15 +08:00
2018-06-09 11:35:50 +10:00
2018-06-03 22:16:15 +08:00
2018-06-09 11:35:50 +10:00
2018-06-03 22:16:15 +08:00