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

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

 



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







[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux