diff mbox series

xfs/517: add missing freeze command

Message ID 20230413001043.GA360885@frogsfrogsfrogs (mailing list archive)
State New, archived
Headers show
Series xfs/517: add missing freeze command | expand

Commit Message

Darrick J. Wong April 13, 2023, 12:10 a.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

This test is supposed to race fsstress, fsmap, and freezing for a while,
but when we converted it to use _scratch_xfs_stress_scrub, the freeze
loop fell off by accident.  Add it back.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 tests/xfs/517 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrey Albershteyn April 13, 2023, 9:39 a.m. UTC | #1
On Wed, Apr 12, 2023 at 05:10:43PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
> 
> This test is supposed to race fsstress, fsmap, and freezing for a while,
> but when we converted it to use _scratch_xfs_stress_scrub, the freeze
> loop fell off by accident.  Add it back.
> 
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---
>  tests/xfs/517 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/xfs/517 b/tests/xfs/517
> index 4481ba41da..68438e544e 100755
> --- a/tests/xfs/517
> +++ b/tests/xfs/517
> @@ -32,7 +32,7 @@ _require_xfs_stress_scrub
>  
>  _scratch_mkfs > "$seqres.full" 2>&1
>  _scratch_mount
> -_scratch_xfs_stress_scrub -i 'fsmap -v'
> +_scratch_xfs_stress_scrub -f -i 'fsmap -v'
>  
>  # success, all done
>  echo "Silence is golden"
> 

Looks good to me
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
diff mbox series

Patch

diff --git a/tests/xfs/517 b/tests/xfs/517
index 4481ba41da..68438e544e 100755
--- a/tests/xfs/517
+++ b/tests/xfs/517
@@ -32,7 +32,7 @@  _require_xfs_stress_scrub
 
 _scratch_mkfs > "$seqres.full" 2>&1
 _scratch_mount
-_scratch_xfs_stress_scrub -i 'fsmap -v'
+_scratch_xfs_stress_scrub -f -i 'fsmap -v'
 
 # success, all done
 echo "Silence is golden"