-
Notifications
You must be signed in to change notification settings - Fork 6
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 support #577
Merged
Merged
io_uring support #577
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Still will be used to power io_uring operations.
This is for the local version only, next up is the shared version.
And ensure it's polled from the worker threads.
To get access to the I/O uring submission queue.
Starting with new buffer trait that work with A10.
A type to implement the A10 Buf(Mut)(Slice) traits on using Heph's versions.
It renames the Buf trait method, a change I've also made to Heph in this commit.
and has_spare_capacity methods. Useful to quickly check if the buffers has enoug capacity in read_n calls.
Based on the A10 crate.
Fix some incorrect references to types or methods.
From the net::udp module and reexport them. This allows us to use them in other modules as well, such as net::uds (Unix Domain Sockets).
Switches to use a forked version of socket2, the changes in which will have to be merged into socket v5 once we're ready to update to that.
Since M (Connected or Unconnected) doesn't implement fmt::Debug.
For easy usage with UnixDatagram.
In case io_uring even supports it, which needs ownership of the address.
Instead of using mio::net::UnixDatagram.
Explaining the use of Connected and Unconnected enums.
Only had a single occurence so might as well fix it.
Basically where possible.
The new RFC that defines HTTP.
Nothing major.
Useful when the NewActor trait is used in a trait bound for types.
This way the caller can handle the panics themselves.
Trying to move away from it.
Since only the panic variant is used of the BlockOnError enum we just return that as Result::Err.
And fixes/ignores all the Clippy warnings.
Finally it's published!
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Work in progress, based on the A10 crate. I want to wait until GitHub Actions supports Kernel v6.1.
Updates #409
Updates #464
Closes #494
Closes #495
Closes #526
Closes #532
Closes #538
Closes #540
Closes #570
Closes #573
Closes #574
Todo:
Missing (from io_uring):
TcpStream::sendfile
and related methods: Add support for sendfile(2) #578.