From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl0-f42.google.com ([209.85.160.42]:35606 "EHLO mail-pl0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbeELFxd (ORCPT ); Sat, 12 May 2018 01:53:33 -0400 Received: by mail-pl0-f42.google.com with SMTP id i5-v6so4420808plt.2 for ; Fri, 11 May 2018 22:53:33 -0700 (PDT) Date: Sat, 12 May 2018 13:53:28 +0800 From: Eryu Guan Subject: Re: [PATCH] xfs: limit xfs_growfs size if test with --large-fs Message-ID: <20180512055328.GP8373@desktop> References: <20180427082254.25524-1-zlang@redhat.com> <20180510221859.GS10363@dastard> <20180511034150.GF1963@hp-dl360g9-06.rhts.eng.pek2.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180511034150.GF1963@hp-dl360g9-06.rhts.eng.pek2.redhat.com> Sender: fstests-owner@vger.kernel.org To: Zorro Lang Cc: Dave Chinner , fstests@vger.kernel.org, darrick.wong@oracle.org, sandeen@redhat.com List-ID: On Fri, May 11, 2018 at 11:41:50AM +0800, Zorro Lang wrote: > On Fri, May 11, 2018 at 08:18:59AM +1000, Dave Chinner wrote: > > On Fri, Apr 27, 2018 at 04:22:54PM +0800, Zorro Lang wrote: > > > When test on large SCRATCH_DEV, grow a small XFS to huge size is a > > > horrible thing (e.g grow 128m to 500T). So add a helper named > > > _scratch_xfs_growfs_limited() to do below things: > > > > > > 1) If --large-fs is used, limit growfs size. > > > 2) If a limit size parameter is specified, make sure growfs won't > > > beyond this size. > > > > > > Signed-off-by: Zorro Lang > > > > I think I originally just didn't run growfs tests like this on large > > filesystems. i.e. require_no_largefs.... > > Hmm... Sorry, am I facing different review-points from 3 different XFS maintainers? ... > > Dave: require_no_largefs is better. > Darrick: nearly ack this patch. > Eric: > 2018-04-27 04:03 < sandeen> [15:01] [00:55:47] I think maybe use _require_no_large_scratch_dev for xfs/002 will be better. Grow a 128M XFS to large size is 'horrible' > 2018-04-27 04:03 < sandeen> just limit growfs to something smaller. > > What should I do next? If testing on large device won't add more test coverage but only test runtime, I'd like to just skip the tests. Would you please send a new version of the patch that adds _require_no_large_scratch_dev to the affected tests? And thanks all for the comments! Eryu > > Thanks, > Zorro > > > > > Cheers, > > > > Dave. > > > > -- > > Dave Chinner > > david@fromorbit.com > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html