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

io_uring cleanups and updates for new flags in Linux 6.2 #553

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

sunfishcode
Copy link
Member

  • Rename IoringSetupFlags's SETUP_SINGLE_ISSUER and SETUP_DEFER_TASKRUN to SINGLE_ISSUER and DEFER_TASKRUN, because the SETUP_ is omitted in the other IoringSetupFlags flags.

  • Split IoringRecvsendFlags into IoringSendFlags and IoringRecvFlags, and add the new ZC_REPORT_USAGE send flag.

  • Add a public re-export of the new IORING_NOTIF_USAGE_ZC_COPIED flag. In theory we could convert cqe.res into a union and use a bitflags type for IORING_NOTIF_USAGE_ZC_COPIED, though my rough guess is that that's not worth it until it gets more complex.

 - Rename `IoringSetupFlags`'s `SETUP_SINGLE_ISSUER` and `SETUP_DEFER_TASKRUN`
   to `SINGLE_ISSUER` and `DEFER_TASKRUN`, because the `SETUP_` is omitted in
   the other `IoringSetupFlags` flags.

 - Split `IoringRecvsendFlags` into `IoringSendFlags` and
   `IoringRecvFlags`, and add the new `ZC_REPORT_USAGE` send flag.

 - Add a public re-export of the new `IORING_NOTIF_USAGE_ZC_COPIED`
   flag. In theory we could convert `cqe.res` into a union and use a
   bitflags type for `IORING_NOTIF_USAGE_ZC_COPIED`, though my rough
   guess is that that's not worth it until it gets more complex.
@sunfishcode sunfishcode merged commit b184b83 into main Mar 3, 2023
@sunfishcode sunfishcode deleted the sunfishcode/io-uring-cleanups branch March 3, 2023 16:16
This pull request was closed.
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.

1 participant