]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test if receive with qgroups corrupts metadata
authorJustin Maggard <jmaggard10@gmail.com>
Mon, 30 Oct 2017 22:32:45 +0000 (15:32 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 3 Nov 2017 11:04:49 +0000 (19:04 +0800)
commit93dcb9861eea9b3ec8bacabb290793a1da805e21
tree6171c1537519dd0ff3dae8c8f7ae12d71f2a07ae
parent5f49f15cf49686f99ecde154af42bc297ec8ce4f
btrfs: test if receive with qgroups corrupts metadata

This test case does some concurrent send/receives with qgroups
enabled.  Currently (4.14-rc7) this usually results in btrfs check
errors, and often also results in a WARN_ON in
record_root_in_trans().

Bisecting points to 6426c7ad697d (btrfs: qgroup: Fix qgroup
accounting when creating snapshot) as the culprit.

Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/152 [new file with mode: 0755]
tests/btrfs/152.out [new file with mode: 0644]
tests/btrfs/group