xfs: force file creation to the data device for certain layout tests
[xfstests-dev.git] / tests / xfs / 120
index e66bc763c6049c79060d091647ea1d9dcb297129..f5eb14cce09afab6d43a599036858a79aa73460e 100755 (executable)
@@ -47,6 +47,7 @@ echo "+ mount fs image"
 _scratch_mount
 blksz="$(stat -f -c '%s' "${SCRATCH_MNT}")"
 nr="$((blksz * 2 / 16))"
+_xfs_force_bdev data $SCRATCH_MNT
 
 echo "+ make some files"
 $XFS_IO_PROG -f -c "pwrite -S 0x62 0 $((blksz * nr))" -c 'fsync' "${SCRATCH_MNT}/bigfile" >> $seqres.full