btrfs: test balance profile convert functionality

Add basic test to ensure btrfs conversion functionality is tested.
This test exercies conversion to all possible types of the data
portion. This is sufficient since from the POV of relocation we are
only moving blockgroups.

v5.3 and later kernel needs the following patch to pass the test

btrfs: Fix a regression which we can't convert to SINGLE profile

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Nikolay Borisov
2019-10-01 12:04:19 +03:00
committed by Eryu Guan
parent 771f879c1a
commit 94c19d60a2
3 changed files with 87 additions and 0 deletions
+1
View File
@@ -197,3 +197,4 @@
192 auto replay snapshot stress
193 auto quick qgroup enospc limit
194 auto volume
195 auto volume