From: Darrick J. Wong Date: Mon, 3 Jul 2023 17:03:55 +0000 (-0700) Subject: xfs/041: force create files on the data device X-Git-Tag: v2023.07.09~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=14941ffecb85b7df5cb732ed5782603ce2ae9933;p=xfstests-dev.git 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 --- 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;