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

iolog.c: fix inaccurate clat when replay trace #1600

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Conversation

min22
Copy link

@min22 min22 commented Jul 26, 2023

When do timestamp replay with high qd it will only reap the completed commands when the qd reach the max iodepth, the commands probably are finished long ago before command completion handling.

Fix is to use io_u_queued_complete instead of just usec_sleep in iolog_delay

Please confirm that your commit message(s) follow these guidelines:

Signed-off-by: Kookoo Gu Zhimin.Gu@solidigm.com

iolog.c Outdated Show resolved Hide resolved
When do timestamp replay with high qd it will only reap the
completed commands when the qd reach the max iodepth, the commands
probably are finished long ago before command completion handling.

Fix is to use io_u_queued_complete instead of just usec_sleep in
iolog_delay

Signed-off-by: Kookoo Gu <Zhimin.Gu@solidigm.com>
@axboe axboe merged commit 1660df6 into axboe:master Jul 31, 2023
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants