On 29/07/2025 21:09, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@xxxxxxxxxx>
Actually force the filesystem to create testfile as a realtime file so
that the test does anything useful.
Cc: <fstests@xxxxxxxxxxxxxxx> # v2025.07.13
Fixes: 7ca990e22e0d61 ("xfs: more multi-block atomic writes tests")
Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
---
tests/xfs/838 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/xfs/838 b/tests/xfs/838
index 73e91530b53a67..84e6a750eb07ab 100755
--- a/tests/xfs/838
+++ b/tests/xfs/838
@@ -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
I'm struggling to follow this test setup.
How are we ensuring that reflink is available for the rt paths?
Thanks,
John
testfile=$SCRATCH_MNT/testfile
touch $testfile