_require_fio $fio_config
+rm -f $seqres.full
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount
_require_fio $fio_config
+rm -f $seqres.full
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount
_require_fio $fio_config
+rm -f $seqres.full
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount
_require_fio $fio_config
+rm -f $seqres.full
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount
_require_defrag
_require_xfs_io_command "falloc"
+rm -f $seqres.full
_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_cp_reflink $testdir/file1 $testdir/file2
_scratch_cycle_mount
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
_scratch_cycle_mount
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
_scratch_cycle_mount
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_pwrite_byte 0x62 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
_cp_reflink $testdir/file1 $testdir/file3
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_pwrite_byte 0x62 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
_cp_reflink $testdir/file1 $testdir/file3
blksz=65536
echo "Initialize file"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_scratch_cycle_mount
blksz=65536
echo "Initialize file"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_scratch_cycle_mount
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_pwrite_byte 0x62 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
_scratch_cycle_mount
blksz=65536
echo "Initialize files"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_pwrite_byte 0x62 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
_scratch_cycle_mount
_require_quota
_require_user
+rm -f $seqres.full
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount "-o usrquota,grpquota"
chmod 777 $SCRATCH_MNT
blksz=65536
echo "Initialize file"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_scratch_cycle_mount
blksz=65536
echo "Initialize file"
-echo > $seqres.full
+echo >> $seqres.full
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
_scratch_cycle_mount
# real QA test starts here
_supported_fs xfs
_require_scratch
+
+rm -f $seqres.full
_scratch_mkfs_xfs | tee -a $seqres.full | _filter_mkfs 2>$tmp.mkfs
. $tmp.mkfs # extract blocksize and data size for scratch device
# real QA test starts here
_scratch_unmount 2>/dev/null
_scratch_mount
+rm -f $seqres.full
# see if faststart is possible (and requested)
files=2000
_supported_os Linux
_require_command "$INDENT_PROG" indent
+rm -f $seqres.full
+
# filter out known changes to xfs type sizes
_type_size_filter()
{
_require_test
testfile=$TEST_DIR/file.$seq
+rm -f $seqres.full
_test_eof_hole()
{
create_attrs $nattrs $target
}
-rm -f $seqres.full
-
# use a small filesystem so we can control freespace easily
_scratch_mkfs_sized $((50 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount
export MOUNT_OPTIONS="-opquota"
+rm -f $seqres.full
# make fs with no projid32bit
_scratch_mkfs_xfs -i projid32bit=0 >> $seqres.full || _fail "mkfs failed"
_qmount
. ./common/quota
echo "Silence is golden."
+rm -f $seqres.full
# real QA test starts here
_supported_os Linux
_require_scratch
-_scratch_mkfs >/dev/null 2>&1
+rm -f $seqres.full
+_scratch_mkfs >$seqres.full 2>&1
_scratch_mount
mkdir -p $SCRATCH_MNT/dir/subdir
_require_xfs_mkfs_crc
_require_xfs_crc
+rm -f $seqres.full
_scratch_mkfs_xfs -m crc=1 >/dev/null 2>&1
_qmount_option "uquota,gquota,pquota"
_require_xfs_mkfs_crc
_require_xfs_crc
+rm -f $seqres.full
_scratch_mkfs_xfs -m crc=1 >/dev/null 2>&1
_qmount_option "uquota,gquota,pquota"