Add support for Ceph Rados benchmarking.
[fio.git] / examples / ftruncate.fio
1 # Example ftruncate engine jobs
2
3 [global]
4 ioengine=ftruncate
5 directory=/scratch
6 size=102404k ; 100Mb+4k
7 stonewall
8 filename=truncate
9 runtime=10s
10 time_based
11 direct=1
12 #
13 # bs option is stub here. Truncation is performed on the current block offset.
14 # blocksize value is ignored
15 bs=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]
20 rw=write
21
22 # Repeatedly change a file to a random size between 0Kbytes and 100Mb
23 # using truncates
24 [rand-truncate]
25 rw=randwrite
26 norandommap
27