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

When using fio to perform read and verify data with the time_based option enabled, fio exits after the first verification is completed. #1664

Open
1 task done
Michael-Duan1 opened this issue Nov 1, 2023 · 1 comment
Labels
bug patcheswelcome No one internal is working on this but an external contributor's help is very welcome! triaged Issue cause is understood but a patch is needed to fix it

Comments

@Michael-Duan1
Copy link

Michael-Duan1 commented Nov 1, 2023

Please acknowledge the following before creating a ticket

Description of the bug:

When using fio to perform read and verify data with the time_based option enabled, fio exits after the first verification is completed.
Because “ddir_rw_sum(td->bytes_done)“ all is Zero。
image

Environment:
Linux
fio version:
fio-3.36
Reproduction steps

sudo ./fio --ioengine=libaio --bs=128k --rw=write --verify=crc32c --filename=/dev/sda --name=test --size=1g
sudo ./fio --ioengine=libaio --bs=128k --time_based --rw=read --verify=crc32c --filename=/dev/sda --runtime=10 --test --size=1g

@vincentkfu
Copy link
Collaborator

This seems to only occur with async ioengines. I get the full 10s with --ioengine=psync.

@vincentkfu vincentkfu added bug triaged Issue cause is understood but a patch is needed to fix it patcheswelcome No one internal is working on this but an external contributor's help is very welcome! labels Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug patcheswelcome No one internal is working on this but an external contributor's help is very welcome! triaged Issue cause is understood but a patch is needed to fix it
Projects
None yet
Development

No branches or pull requests

2 participants