ext4: don't online scrub ever

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>
This commit is contained in:
Darrick J. Wong
2017-06-29 21:58:12 -07:00
committed by Eryu Guan
parent 7c0af04322
commit c28b406918
3 changed files with 7 additions and 6 deletions
+2 -2
View 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
;;
*)