[PATCH 6/7] xfs/838: actually force usage of the realtime device

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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
 
 testfile=$SCRATCH_MNT/testfile
 touch $testfile





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux