btrfs: add qgroup rescan stress test
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Wed, 13 Aug 2014 00:59:59 +0000 (10:59 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 00:59:59 +0000 (10:59 +1000)
commit736a5b0d7c874ff199525514a769ef5b86350854
tree5b819e52582f883028197ed4af89b983e761ca8f
parentc728752cfaab72e58895c0d6cb8387aede76ce7c
btrfs: add qgroup rescan stress test

Test flow is to run fsstress after triggering quota rescan.
the ruler is simple, we just remove all files and directories,
sync filesystem and see if qgroup's ref and excl are nodesize.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/057 [new file with mode: 0644]
tests/btrfs/057.out [new file with mode: 0644]
tests/btrfs/group