]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: add test case for qgroup account on shared extents
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 24 Dec 2014 03:48:23 +0000 (14:48 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 24 Dec 2014 03:48:23 +0000 (14:48 +1100)
commite4aa15bc59afdbf45161abb86c1cd081e5a3ebc0
tree588c889b0b051045020f17a1cdce9fcc605d2a7e
parent46a08542e342adff05e0ccfeed69eeec823205e8
btrfs: add test case for qgroup account on shared extents

This is a regression test of
'commit fcebe4562dec ("Btrfs: rework qgroup accounting")',
it's used to verify that removing shared extents can end up incorrect
qgroup accounting.

It can produce qgroup related warnings.

The fix is https://patchwork.kernel.org/patch/5499981/
"Btrfs: fix a warning of qgroup account on shared extents"

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Tested-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/017 [new file with mode: 0755]
tests/btrfs/017.out [new file with mode: 0644]
tests/btrfs/group