Files
apfstests/tests/btrfs
Anand Jain cbae878f41 btrfs: try use forget to unregister device
Some btrfs test cases use btrfs module-reload to unregister devices
in the btrfs kernel. The problem with the module-reload approach is,
if test system contains btrfs as rootfs, then you can't run these
test cases.

Patches [1] introduced btrfs forget feature which can unregister
devices without the module-reload approach.

 [1]
 btrfs-progs: device scan: add new option to forget one or all scanned devices
 btrfs: introduce new ioctl to unregister a btrfs device

And this patch makes relevant changes in the fstests to use this new
feature, when available.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2019-04-06 19:41:47 +08:00
..
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2019-01-27 13:30:16 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2013-10-12 19:30:19 -05:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2013-12-03 10:29:29 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2014-02-03 10:06:14 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2016-01-11 15:05:20 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-01-27 16:06:12 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-04-01 11:32:01 +11:00
2015-04-01 11:35:44 +11:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2015-09-21 13:06:18 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2019-04-06 19:41:47 +08:00
2019-04-06 19:41:47 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2016-07-19 12:20:43 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2017-02-15 18:02:15 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-09-16 19:56:08 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2019-04-06 19:41:47 +08:00
2017-11-15 14:45:24 +08:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-09 11:35:50 +10:00
2018-06-03 22:16:15 +08:00
2018-06-09 11:35:50 +10:00
2018-06-03 22:16:15 +08:00
2019-04-06 19:41:47 +08:00
2018-06-03 22:16:15 +08:00
2018-10-06 17:40:09 +08:00
2018-11-11 22:33:12 +08:00