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

wrong offset passed to io_uring_prep_write_fixed/io_uring_prep_read_fixed for asio::stream_file #1558

Open
microcai opened this issue Nov 18, 2024 · 1 comment

Comments

@microcai
Copy link

in asio/detail/io_uring_descriptor_read_op.hpp and asio/detail/io_uring_descriptor_write_op.hpp

in do_prepare, it prepares the sqe by calling io_uring_prep_read_fixed/io_uring_prep_write_fixed

for offset argument, it incorrectly pass 0 which should be -1.

@microcai
Copy link
Author

sent a pr for this issue #1559

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

1 participant