Fio 3.37
[fio.git] / examples / uring-cmd-pi-sb.fio
CommitLineData
b311162c
AK
1# Protection information test with io_uring_cmd I/O engine for nvme-ns generic
2# character device.
3#
4# This requires nvme device to be formatted with separate metadata buffer and
5# protection information enabled. This can be done with nvme-cli utility.
6# Replace md_per_io_size as per the required metadata buffer size for each IO.
7#
8# First we sequentially write to the device, without protection information
9# action being set. FIO will generate and send necessary protection
10# information data as per the protection information check option. Later on we
11# sequentially read and verify the device returned protection information data.
12#
13[global]
14filename=/dev/ng0n1
15ioengine=io_uring_cmd
16cmd_type=nvme
17size=1G
18iodepth=32
19bs=4096
20md_per_io_size=64
21pi_act=0
22pi_chk=GUARD,APPTAG,REFTAG
23apptag=0x0888
24apptag_mask=0xFFFF
25thread=1
26stonewall=1
27
28[write]
29rw=write
30
31[read]
32rw=read