-
-
Couldn't load subscription status.
- Fork 3.1k
std.os.linux.IoUring: IORING_ENTER_NO_IOWAIT flag support #25604
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
base: master
Are you sure you want to change the base?
std.os.linux.IoUring: IORING_ENTER_NO_IOWAIT flag support #25604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Head branch was pushed to by a user without write access
4cfa5b8 to
0080795
Compare
|
@andrewrk it turns out that I made a mistake regarding the usage of flags, liburing introduced int_flags which we lacked. I thought we were using them as the flags field but turns out that was false. I added the int_flags field just like liburing has them. The only caveat is that liburing does some extra work to set the int_flags according to the setup flags, but since we seem to be behind liburing quite a bit then I do not think it is for this PR to also solve those issues. There should be a followup issue if there is a desire for this. Currently there is nothing inherently wrong since previously there just wasnt even the support to have persistent flags for enter, now atleast there are but they have to be set manually. |
0080795 to
bb6b867
Compare
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Co-authored-by: RaidoAun <45874591+RaidoAun@users.noreply.github.com> Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Co-authored-by: RaidoAun <45874591+RaidoAun@users.noreply.github.com> Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Co-authored-by: RaidoAun <45874591+RaidoAun@users.noreply.github.com> Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Co-authored-by: RaidoAun <45874591+RaidoAun@users.noreply.github.com> Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes ziglang#25566 closes ziglang#25604 and IoUring enter_flags() helper function add typed Init flags which match int_flags in liburing Co-authored-by: RaidoAun <45874591+RaidoAun@users.noreply.github.com> Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
closes #25566
liburing changes:
axboe/liburing@8f0c124#diff-ddb623c7d8d649eff38f34b19b7a2f8b55e1d448ee94b813a9541d5304467629