In 034.out, the $SCRATCH_MNT is specified by "/mnt/scratch". It's
not flexible. Modify it to fit the different vaule of $SCRATCH_MNT.
Signed-off-by: xiaoli feng <xifeng@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
# Use 'syncfs' instead of 'sync' here as 'sync' could have dirtied quota files
# ahead of writeback and could not reproduce the bug.
-echo "sync $SCRATCH_MNT to writeback"
+echo "sync $SCRATCH_MNT to writeback" | _filter_scratch
$XFS_IO_PROG -c "syncfs" $SCRATCH_MNT >> $seqres.full
# success, all done
Create 2 level extent tree (btree) for foobar with a unwritten extent
Convert unwritten extent to written and collapse extent tree to inode
Create a new file and do fsync to force a jbd2 commit
-sync /mnt/scratch to writeback
+sync SCRATCH_MNT to writeback