From: Darrick J. Wong Date: Wed, 14 Apr 2021 01:04:36 +0000 (-0700) Subject: xfs/506: fix regression on freshly quotachecked filesystem X-Git-Tag: v2022.05.01~464 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=f7a8c5c4ad1e9fc67c09f9f7ea2144ba51209783;ds=sidebyside xfs/506: fix regression on freshly quotachecked filesystem The first thing this test checks is that the health command reports that nothing has been checked. This isn't true if we regenerated the quota counts when we mounted the filesystem (and hence they're marked healthy and checked), so cycle the mount to get rid of that state. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/506 b/tests/xfs/506 index ddda8614..7e553849 100755 --- a/tests/xfs/506 +++ b/tests/xfs/506 @@ -36,6 +36,7 @@ rm -f $seqres.full _scratch_mkfs > $seqres.full 2>&1 _scratch_mount +_scratch_cycle_mount # make sure we haven't run quotacheck on this mount # Haven't checked anything, it should tell us to run scrub $XFS_SPACEMAN_PROG -c "health" $SCRATCH_MNT