-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
std: add io_uring library #6356
Commits on Sep 16, 2020
-
This brings io_uring helper methods to Zig for kernels >= 5.4. We follow liburing's design decisions so that anyone who is comfortable with liburing (https://unixism.net/loti/ref-liburing/index.html) will feel at home. Thanks to @daurnimator for the first draft. Refs: #3083 Signed-off-by: Joran Dirk Greef <joran@coil.com>
Configuration menu - View commit details
-
Copy full SHA for b340bbf - Browse repository at this point
Copy the full SHA b340bbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f09796 - Browse repository at this point
Copy the full SHA 6f09796View commit details -
Configuration menu - View commit details
-
Copy full SHA for 491a434 - Browse repository at this point
Copy the full SHA 491a434View commit details
Commits on Sep 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ac1d9f7 - Browse repository at this point
Copy the full SHA ac1d9f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c8136 - Browse repository at this point
Copy the full SHA 21c8136View commit details -
Configuration menu - View commit details
-
Copy full SHA for d966fe6 - Browse repository at this point
Copy the full SHA d966fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e33c466 - Browse repository at this point
Copy the full SHA e33c466View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b030a6 - Browse repository at this point
Copy the full SHA 8b030a6View commit details
Commits on Sep 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ee59319 - Browse repository at this point
Copy the full SHA ee59319View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5df0d28 - Browse repository at this point
Copy the full SHA 5df0d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a54b9 - Browse repository at this point
Copy the full SHA b2a54b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09f2f4a - Browse repository at this point
Copy the full SHA 09f2f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 873d1c8 - Browse repository at this point
Copy the full SHA 873d1c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31533eb - Browse repository at this point
Copy the full SHA 31533ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb59128 - Browse repository at this point
Copy the full SHA cb59128View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d8c6a9 - Browse repository at this point
Copy the full SHA 0d8c6a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fabae2 - Browse repository at this point
Copy the full SHA 9fabae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1f9d10 - Browse repository at this point
Copy the full SHA c1f9d10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ae9a6 - Browse repository at this point
Copy the full SHA 64ae9a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4df2f0 - Browse repository at this point
Copy the full SHA f4df2f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7ae6f2 - Browse repository at this point
Copy the full SHA e7ae6f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba18420 - Browse repository at this point
Copy the full SHA ba18420View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92407bf - Browse repository at this point
Copy the full SHA 92407bfView commit details -
Fix io_uring_sqe to use the names of the first member of each union
Configuration menu - View commit details
-
Copy full SHA for 4bc1b7a - Browse repository at this point
Copy the full SHA 4bc1b7aView commit details
Commits on Sep 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for abebacd - Browse repository at this point
Copy the full SHA abebacdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b672dc7 - Browse repository at this point
Copy the full SHA b672dc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f22eea8 - Browse repository at this point
Copy the full SHA f22eea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40293a0 - Browse repository at this point
Copy the full SHA 40293a0View commit details -
Make enter(), flush_sq(), sq_ring_needs_enter(), cq_ring_needs_flush(…
…) public These will also be needed by any custom helpers
Configuration menu - View commit details
-
Copy full SHA for e51728a - Browse repository at this point
Copy the full SHA e51728aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77903f8 - Browse repository at this point
Copy the full SHA 77903f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a853f00 - Browse repository at this point
Copy the full SHA a853f00View commit details
Commits on Sep 21, 2020
-
Add io_uring syscalls to os.bits.linux.mips.SYS
As per lib/libc/musl/arch/mips/bits/syscall.h.in: ```c ```
Configuration menu - View commit details
-
Copy full SHA for 843c104 - Browse repository at this point
Copy the full SHA 843c104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 575ed94 - Browse repository at this point
Copy the full SHA 575ed94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57603fd - Browse repository at this point
Copy the full SHA 57603fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7719abb - Browse repository at this point
Copy the full SHA 7719abbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d8df2b - Browse repository at this point
Copy the full SHA 2d8df2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f99d2c - Browse repository at this point
Copy the full SHA 5f99d2cView commit details
Commits on Oct 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 95def89 - Browse repository at this point
Copy the full SHA 95def89View commit details -
Use load acquire semantics when reading the SQPOLL wakeup flag
Ensures that the wakeup flag is read after the tail pointer has been written. It's important to use memory load acquire semantics for the flags read, otherwise the application and the kernel might not agree on the consistency of the wakeup flag, leading to I/O starvation. Refs: axboe/liburing@6768ddc Refs: axboe/liburing#219
Configuration menu - View commit details
-
Copy full SHA for a9b1070 - Browse repository at this point
Copy the full SHA a9b1070View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5b4fca - Browse repository at this point
Copy the full SHA c5b4fcaView commit details
Commits on Oct 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 61ec6cb - Browse repository at this point
Copy the full SHA 61ec6cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e32c7d0 - Browse repository at this point
Copy the full SHA e32c7d0View commit details -
Allow for advanced non-sequential SQE allocation schemes
Decouples SQE queueing and SQE prepping methods to allow for non-sequential SQE allocation schemes as suggested by @daurnimator. Adds essential SQE prepping methods from liburing to reduce boilerplate. Removes non-essential .link_with_next_sqe() and .use_registered_fd().
Configuration menu - View commit details
-
Copy full SHA for 69a55fc - Browse repository at this point
Copy the full SHA 69a55fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d2de6c - Browse repository at this point
Copy the full SHA 3d2de6cView commit details -
Add openat(), close(), connect(), send(), recv(), as well as tests
Removes non-essential .hardlink_with_next_sqe() and .drain_previous_sqes().
Configuration menu - View commit details
-
Copy full SHA for 6a53f4b - Browse repository at this point
Copy the full SHA 6a53f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9091fcb - Browse repository at this point
Copy the full SHA 9091fcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72bdfa5 - Browse repository at this point
Copy the full SHA 72bdfa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 958ff08 - Browse repository at this point
Copy the full SHA 958ff08View commit details -
Split openat/close test into two separate tests
If an older kernel fails the `openat` test because of `AT_FDCWD` then we don't want to skip the `close` test.
Configuration menu - View commit details
-
Copy full SHA for 9be2941 - Browse repository at this point
Copy the full SHA 9be2941View commit details
Commits on Oct 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e9ba12f - Browse repository at this point
Copy the full SHA e9ba12fView commit details