The _require_defrag function in xfstests can now correctly determine
whether an ext4 test file system supports the online defrag feature.
The exclude files that were added to prevent test failure noise when
running online defrag tests on journaled data and bigalloc file systems
are no longer necessary. These tests include ext4/301-304 and
ext4/307-308.
ext4/304 remains in the master exclude file for an unrelated problem.
Signed-off-by: Eric Whitney <[email protected]>
---
.../test-appliance/files/root/fs/ext4/cfg/bigalloc.exclude | 7 -------
.../test-appliance/files/root/fs/ext4/cfg/bigalloc_1k.exclude | 7 -------
.../test-appliance/files/root/fs/ext4/cfg/data_journal.exclude | 7 -------
.../files/root/fs/ext4/cfg/data_journal_noleak.exclude | 7 -------
4 files changed, 28 deletions(-)
delete mode 100644 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc.exclude
delete mode 100644 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc_1k.exclude
delete mode 100644 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal.exclude
delete mode 100644 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal_noleak.exclude
diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc.exclude b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc.exclude
deleted file mode 100644
index bd779be..0000000
--- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc.exclude
+++ /dev/null
@@ -1,7 +0,0 @@
-# bigalloc does not support on-line defrag
-ext4/301
-ext4/302
-ext4/303
-ext4/304
-ext4/307
-ext4/308
diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc_1k.exclude b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc_1k.exclude
deleted file mode 100644
index bd779be..0000000
--- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/bigalloc_1k.exclude
+++ /dev/null
@@ -1,7 +0,0 @@
-# bigalloc does not support on-line defrag
-ext4/301
-ext4/302
-ext4/303
-ext4/304
-ext4/307
-ext4/308
diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal.exclude b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal.exclude
deleted file mode 100644
index 7190c8c..0000000
--- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal.exclude
+++ /dev/null
@@ -1,7 +0,0 @@
-# data_journal does not support on-line defrag
-ext4/301
-ext4/302
-ext4/303
-ext4/304
-ext4/307
-ext4/308
diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal_noleak.exclude b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal_noleak.exclude
deleted file mode 100644
index 7190c8c..0000000
--- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/data_journal_noleak.exclude
+++ /dev/null
@@ -1,7 +0,0 @@
-# data_journal does not support on-line defrag
-ext4/301
-ext4/302
-ext4/303
-ext4/304
-ext4/307
-ext4/308
--
2.1.4