Commit | Line | Data |
---|---|---|
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] | |
14 | filename=/dev/ng0n1 | |
15 | ioengine=io_uring_cmd | |
16 | cmd_type=nvme | |
17 | size=1G | |
18 | iodepth=32 | |
19 | bs=4160 | |
20 | pi_act=0 | |
21 | pi_chk=GUARD,APPTAG,REFTAG | |
22 | apptag=0x0888 | |
23 | apptag_mask=0xFFFF | |
24 | thread=1 | |
25 | stonewall=1 | |
26 | ||
27 | [write] | |
28 | rw=write | |
29 | ||
30 | [read] | |
31 | rw=read |