Fio 3.37
[fio.git] / examples / uring-cmd-pi-ext.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 extended LBA data size and
5# protection information enabled. This can be done with nvme-cli utility.
6# Replace bs below with the correct extended LBA size.
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=4160
20pi_act=0
21pi_chk=GUARD,APPTAG,REFTAG
22apptag=0x0888
23apptag_mask=0xFFFF
24thread=1
25stonewall=1
26
27[write]
28rw=write
29
30[read]
31rw=read