btrfs: test for device dynamic rescan

Make sure missing device is included in the alloc list when it is
scanned on a mounted FS.

This test case needs btrfs kernel patch which is in the ML
  [PATCH] btrfs: handle dynamically reappearing missing device

Without the kernel patch, the test will run, but reports as
failed, as the device scanned won't appear in the alloc_list.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Anand Jain
2017-11-15 11:05:15 +08:00
committed by Eryu Guan
parent 9edb6cd35d
commit 742facac0d
3 changed files with 196 additions and 0 deletions
+1
View File
@@ -156,3 +156,4 @@
151 auto quick
152 auto quick metadata qgroup send
153 auto quick qgroup
154 auto quick