From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:8709 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751810AbdF3Mci (ORCPT ); Fri, 30 Jun 2017 08:32:38 -0400 Date: Fri, 30 Jun 2017 20:32:35 +0800 From: Eryu Guan Subject: Re: [PATCH v2 12/8] ext4: don't online scrub ever Message-ID: <20170630123235.GG23360@eguan.usersys.redhat.com> References: <149808222258.8924.1682057078986741098.stgit@birch.djwong.org> <20170630041331.GG5871@birch.djwong.org> <20170630045812.GI5871@birch.djwong.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170630045812.GI5871@birch.djwong.org> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org On Thu, Jun 29, 2017 at 09:58:12PM -0700, Darrick J. Wong wrote: > 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 > --- > v2: Fix the description to match what it does now > --- > common/fuzzy | 2 +- > tests/ext4/023 | 7 ++++--- > tests/ext4/023.out | 2 +- > 3 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/common/fuzzy b/common/fuzzy > index 304268e..686cf77 100644 > --- a/common/fuzzy > +++ b/common/fuzzy > @@ -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 > ;; > *) The _require_scrub part is still missed, but it's easy enough for me to fix at commit time :) I'll give these patches more exposure time in the list and leave them to next week's update. Thanks, Eryu > diff --git a/tests/ext4/023 b/tests/ext4/023 > index 4f5cf3e..7ca3d7d 100755 > --- a/tests/ext4/023 > +++ b/tests/ext4/023 > @@ -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 > diff --git a/tests/ext4/023.out b/tests/ext4/023.out > index da2bd60..8a7659b 100644 > --- a/tests/ext4/023.out > +++ b/tests/ext4/023.out > @@ -1,3 +1,3 @@ > QA output created by 023 > Format and populate > -Scrub > +Mount > -- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html