examples: fix ioengine in zbd-rand-write.fio
[fio.git] / examples / sg_write_same_ndob.fio
CommitLineData
91e13ff5
VF
1#
2# **********************************
3# * !!THIS IS A DESTRUCTIVE TEST!! *
4# * IF NOT CHANGED THIS TEST WILL *
5# * DESTROY DATA ON /dev/sdb *
6# **********************************
7#
8# Test WRITE SAME commands with the NDOB flag set
9# issued via the sg ioengine
10# All of the jobs below should complete without error
11# except the last one
12#
13# job description
14# precon Precondition the device by writing 20 blocks with a
15# known pattern
16# write_same_ndob Write 19 sectors of all zeroes with the NDOB flag set
17# verify-pass Verify 19 blocks of all zeroes
18# verify-fail Verify 20 blocks of all zeroes. This should fail.
19#
20
21[global]
22filename=/dev/sdb
23buffer_pattern=0x01
24ioengine=sg
25rw=write
26bs=512
27stonewall
28
29[precon]
30number_ios=20
31
32[write_same_ndob]
33sg_write_mode=write_same_ndob
34number_ios=19
35
36[verify-pass]
37sg_write_mode=verify_bytchk_01
38buffer_pattern=0x00
39number_ios=19
40
41[verify-fail]
42sg_write_mode=verify_bytchk_01
43buffer_pattern=0x00
44number_ios=20