]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/838: actually force usage of the realtime device v2025.08.04
authorDarrick J. Wong <djwong@kernel.org>
Tue, 29 Jul 2025 20:09:48 +0000 (13:09 -0700)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Aug 2025 14:15:17 +0000 (22:15 +0800)
Actually force the filesystem to create testfile as a realtime file so
that the test does anything useful.

Cc: fstests@vger.kernel.org # v2025.07.13
Fixes: 7ca990e22e0d61 ("xfs: more multi-block atomic writes tests")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/838

index 73e91530b53a67145e662e761f6eaa28f73ec98c..84e6a750eb07ab1c38324f9146d36c1c729e8bd6 100755 (executable)
@@ -23,6 +23,7 @@ $XFS_IO_PROG -c "statx -r -m $STATX_WRITE_ATOMIC" $SCRATCH_RTDEV >> $seqres.full
 
 _scratch_mkfs >> $seqres.full
 _scratch_mount
+_xfs_force_bdev realtime $SCRATCH_MNT
 
 testfile=$SCRATCH_MNT/testfile
 touch $testfile