btrfs: Add new test for qgroup assign functionality

This new test will test btrfs's qgroup assign functionality. The
test has 3 cases.

 - assign, no shared extents
 - assign, shared extents
 - snapshot -i, shared extents

Each cases create subvolumes and assign qgroup in their own way
and check with the command "btrfs check".

Cc: Qu Wenruo <wqu@suse.com>
Cc: Eryu Guan <guan@eryu.me>
Signed-off-by: Sidong Yang <realwakka@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Sidong Yang
2020-10-11 06:20:19 +00:00
committed by Eryu Guan
parent 64e86f4454
commit e82cfa7081
3 changed files with 118 additions and 0 deletions
+1
View File
@@ -225,3 +225,4 @@
221 auto quick send
222 auto quick send
223 auto quick replace trim
224 auto quick qgroup