umount $SCRATCH_MNT > /dev/null 2>&1
_dmhugedisk_cleanup
rm -rf $tmp.*
- _scratch_mkfs >/dev/null 2>&1
}
# get standard environment, filters and checks
# real QA test starts here
_supported_os Linux
_supported_fs xfs
-_require_scratch
+_require_scratch_nocheck
_require_xfs_scratch_rmapbt
_require_xfs_io_command "falloc"
testdir=$SCRATCH_MNT/test-$seq
blksz="$(_get_block_size $SCRATCH_MNT)"
-umount $SCRATCH_MNT
+_scratch_unmount
echo "Format huge device"
nr_blks=2100000 # 2^21 plus a little more
echo "Check and fake-repair huge filesystem again" | tee -a $seqres.full
$XFS_DB_PROG -c 'check' $DMHUGEDISK_DEV
$XFS_REPAIR_PROG -n $DMHUGEDISK_DEV >> $seqres.full 2>&1
-_dmhugedisk_cleanup
echo "Done"