From 14941ffecb85b7df5cb732ed5782603ce2ae9933 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 3 Jul 2023 10:03:55 -0700 Subject: [PATCH] xfs/041: force create files on the data device Since we're testing growfs of the data device, we should create the files there, even if the mkfs configuration enables rtinherit on the root dir. Signed-off-by: Darrick J. Wong Reviewed-by: Andrey Albershteyn Signed-off-by: Zorro Lang --- tests/xfs/041 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/xfs/041 b/tests/xfs/041 index 05de5578..21b3afe7 100755 --- a/tests/xfs/041 +++ b/tests/xfs/041 @@ -46,6 +46,9 @@ bsize=`_scratch_mkfs_xfs -dsize=${agsize}m,agcount=1 2>&1 | _filter_mkfs 2>&1 \ onemeginblocks=`expr 1048576 / $bsize` _scratch_mount +# We're growing the data device, so force new file creation there +_xfs_force_bdev data $SCRATCH_MNT + echo "done" # full allocation group -> partial; partial -> expand partial + new partial; -- 2.47.3