]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
ext4: don't online scrub ever
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 30 Jun 2017 04:58:12 +0000 (21:58 -0700)
committerEryu Guan <eguan@redhat.com>
Mon, 3 Jul 2017 12:25:01 +0000 (20:25 +0800)
The ext4 online scrub program is no longer under active development,
so remove all the test code that tried to use it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/fuzzy
tests/ext4/023
tests/ext4/023.out

index 304268e4a771792297a4583ab0cd1b7a1cebb7fc..ea22c3ef08a335222bd4b4935b000d70892644a5 100644 (file)
@@ -58,7 +58,7 @@ _scratch_fuzz_test() {
 # Do we have an online scrub program?
 _require_scrub() {
        case "${FSTYP}" in
-       "xfs"|"ext4")
+       "xfs")
                test -x "$XFS_SCRUB_PROG" || _notrun "xfs_scrub not found"
                ;;
        *)
@@ -70,7 +70,7 @@ _require_scrub() {
 # Scrub the scratch filesystem metadata (online)
 _scratch_scrub() {
        case "${FSTYP}" in
-       "xfs"|"ext4"|"ext3"|"ext2")
+       "xfs")
                $XFS_SCRUB_PROG -d -T -v "$@" $SCRATCH_MNT
                ;;
        *)
index 4f5cf3edfc9524a72569cb192feebe6cd98ceca5..7ca3d7de88aef55202878d0b83fb43a0d8b774a0 100755 (executable)
@@ -1,7 +1,9 @@
 #! /bin/bash
 # FS QA Test No. 023
 #
-# Populate a ext4 filesystem and ensure that scrub and repair are happy.
+# Ensure that the populate helpers actually /can/ populate a ext4
+# filesystem with all types of metadata and create an image of the
+# metadata.  Check that fsck is happy with the resulting fs.
 #
 #-----------------------------------------------------------------------
 # Copyright (c) 2017 Oracle, Inc.  All Rights Reserved.
@@ -51,9 +53,8 @@ _require_scrub
 echo "Format and populate"
 _scratch_populate_cached > $seqres.full 2>&1
 
-echo "Scrub"
+echo "Mount"
 _scratch_mount >> $seqres.full 2>&1
-_scratch_scrub >> $seqres.full
 
 # success, all done
 status=0
index da2bd60d6a3c6e3ef512498df6e1aefc2e51d571..8a7659be843467c3603b5fda1492fae3afe143f5 100644 (file)
@@ -1,3 +1,3 @@
 QA output created by 023
 Format and populate
-Scrub
+Mount