]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/041: force create files on the data device
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jul 2023 17:03:55 +0000 (10:03 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 7 Jul 2023 14:15:41 +0000 (22:15 +0800)
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 <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/041

index 05de5578ffae7d8191517e52e09f1a024c01b9c8..21b3afe7ce63a4b4c6e914490e85340f21a2a4e3 100755 (executable)
@@ -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;