-
Notifications
You must be signed in to change notification settings - Fork 402
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
Weird readv behavior on 5.5 kernel #52
Comments
Good catch, let me take a look at that. |
Adopted the test program as a real test case: https://git.kernel.dk/cgit/liburing/commit/?id=46f92335793e70363c296b4c997da7a808959a49 |
Cool, thanks for the fix |
No problem, thanks for the report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On 5.5 kernel in case if file size is less than iovec size,
cqe.res
will be equal to 0, On 5.4 kernelcqe.res
will contain correct number of bytes readSample code:
The text was updated successfully, but these errors were encountered: