Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fio io_uring engine while verify pi data #1826

Open
huangyu96 opened this issue Oct 13, 2024 · 3 comments
Open

fio io_uring engine while verify pi data #1826

huangyu96 opened this issue Oct 13, 2024 · 3 comments

Comments

@huangyu96
Copy link

while pi type=1 and don’t check ref tag.I see cdw14 Expected Initial Logical Block Reference Tag (EILBRT) field is not assigned a value.

$fio command
./fio -filename=/dev/ng0n1 -ioengine=io_uring_cmd -rw=read -bs=520 -iodepth=32 -offset=0 -size=1k -cmd_type=nvme -pi_act=0x0 -pi_chk=GUARD,APPTAG, -apptag=0x0888 -apptag_mask=0xFFFF -thread=1 -stonewall=1 -name=verifyame=verify

$ fio --version
fio-3.38

$uname -r
6.8.0-45-generic

fio_result

code

@vincentkfu
Copy link
Collaborator

Not sure what the question is here.

If the RTCHK bit in PRCHK is not set then the reference tag is not checked by the controller. Why would fio set EILBRT if the value is not checked?

@huangyu96
Copy link
Author

image
here,when pi type=1,ref tag should equal to start lba,otherwise the controller shall complete the command with a status of Invalid Protection Information if the ILBRT field or the EILBRT field does not match the least significant four bytes of the SLBA field. @vincentkfu

@vincentkfu
Copy link
Collaborator

The section in your screenshot begins with:

If bit 0 of the PRCHK field is set to '1'

This is not the case for your job as reference tag checking is disabled.

Why would the controller return a reference tag error if reftag checking is disabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants