1# Example ftruncate engine jobs 2 3[global] 4ioengine=ftruncate 5directory=/scratch 6size=102404k ; 100Mb+4k 7stonewall 8filename=truncate 9runtime=10s 10time_based 11direct=1 12# 13# bs option is stub here. Truncation is performed on the current block offset. 14# blocksize value is ignored 15bs=4k 16 17# truncate the file to 4Kbytes then repeatedly grow the file back to just over 18# its original size using subsequent truncates 19[grow-truncate] 20rw=write 21 22# Repeatedly change a file to a random size between 0Kbytes and 100Mb 23# using truncates 24[rand-truncate] 25rw=randwrite 26norandommap 27 28