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

fix: io_uring sqpoll issue_time empty when kernel not yet read sq #1594

Merged
merged 1 commit into from
Jul 15, 2023

Commits on Jul 6, 2023

  1. fix: io_uring sqpoll issue_time empty when kernel not yet read sq

    In io_uring sqpoll mode, when kernel side thread has not yet read 
    the sqring before second fio_ioring_commit() called, the 
    sq_ring.head will remain the same. The second 
    fio_ioring_commit() will initialize the wrong io_u's issue_time. 
    The old(in head) io_u‘s issue_time will to be initialized twice and 
    new(in tail - 1) io_u's issue_time will not to be initialized.
    This problem will cause clat is weird, sometimes larger than lat.
    
    Signed-off-by: Jueji Yang <jueji.yang@gmail.com>
    yangjueji committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    10bad6b View commit details
    Browse the repository at this point in the history