Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/tokio-rs/io-uring

The `io_uring` library for Rust
https://github.com/tokio-rs/io-uring

release 0.6.3

801d8857be71aa8639587efeb2139200ef8727d4 authored 12 months ago
Fix broken RecvMsgOut parsing (#257)

* Fix broken RecvMsgOut parsing

Signed-off-by: Alex Saveau <[email protected]>

* ...

297f02b8759b4355884122cc7e66962912bf72ce authored 12 months ago
Implement `AsFd` for all entry sizes (#254)

cc8060a7b5c72cacab10ee288061785d1f5dd56e authored 12 months ago
Update sys to linux 6.7 (#253)

dd7cce6b607c088c6e33f7adf9cc276a0e19fee4 authored 12 months ago
Update actions/checkout action to v4 (#251)

01c83bbce965d4aaf93ebfaa08c3aa8b7b0f5335 authored about 1 year ago
Ignore clippy::out_of_bounds_indexing error (#252)

```
error: index is out of bounds
--> src/util.rs:134:17
|
134 | None => [][1...

2d68d7bb86ef19e2e6473a8241b20a62a80685e5 authored about 1 year ago
pass `cqe->flags` with `MsgRingData` (#248)

* pass flags in msg ring op code

* correct variable name

7c0376dc7da2a34433f2e744e47695e6d8329174 authored about 1 year ago
Fix tiny typo in docstring (#244)

1041c7258f8493d398c189f0bfc47e3d4ba33844 authored about 1 year ago
bug: fix overflow in `io-uring-test::register_buf_ring::InnerBufRing::buf_ring_push` (#243)

* Alter the buf_ring_play test to foce the local_tail u16 to overflow once.

* Explicitly wrap...

1999f80945354740c25c7b076a7ab01220ce90bc authored about 1 year ago
Fix Cargo.lock

6ccd36fa4024e6c9099f666f8b32de12fc23c3e1 authored over 1 year ago
release 0.6.2

ac9f452b4504b745eada797783e7015abe4580bd authored over 1 year ago
feat(types): timespec from duration (#240)

cbc1b05675b2999669e22ebcc9495461e1a99b38 authored over 1 year ago
feat: create async cancel op with cancel builder (#239)

* feat: add new flags to async cancel

* test(cancel): add unit tests for cancel op

8a3d5e41eb0ab771ab79fb7283b67c9b23b23543 authored over 1 year ago
Fix 1.48 check

335398d7862831b3c17f50ddc1520f43a1a6e5f4 authored over 1 year ago
Remove mips64 from ci

6671bb66f22e40f41443fd50fecdef710275df99 authored over 1 year ago
Fix clippy

1dbcff1cf31cd52ece57316bb1e4ad3a05cddc82 authored over 1 year ago
Fix 6.3 bindgen build

ef0884d3cf76e1f83ac44de2a8621f9c94ac2a65 authored over 1 year ago
opcode: fix doc typo in provide buffers (#233)

Replace the provide buffers opcode parameter 'big' with 'bid' (stands
for 'buffer id') in docum...

66844fbe9b10db40faa31e286ed8fc15fc8ab7f2 authored almost 2 years ago
Connectionless stream send-recv test readability improvement (#232)

* removed non io-uring `.send_to()` methods, added SendMsg opcodes to test full io-uring cycle o...

b622b09f84b43596f83acbd3a7f988a60249f83c authored almost 2 years ago
Fix README version

48b6dda38a51145ca187a052cea7ba2a712b9243 authored almost 2 years ago
release 0.6.0 (#229)

* Some api changes

* test: show test count

* test: Update deps

* No bitflags 2

* Fix...

e3fa23ad338af1d051ac82e18688453a9b3d8376 authored almost 2 years ago
Added option to use SendZc for connectionless streams. (#228)

* Added option to use SendZc for connectionless streams.

* Added docs

* Added test_udp_sen...

9febb08930fe4420e7d22e91308e1a507ad4db2b authored almost 2 years ago
Expose previously application-supplied user data (#231)

Signed-off-by: Li Zhanhui <[email protected]>

ad2ba1f5f7d28db9b8dbe713c8ac4b49726cf303 authored almost 2 years ago
Add support for IORING_REGISTER_SYNC_CANCEL (#225)

* Add support for IORING_REGISTER_SYNC_CANCEL

Adds a new Submitter method, register_sync_canc...

f5f32c46a6b9918fbeb5fe9ffab9c0821c5e7cb8 authored almost 2 years ago
tests/net: relax FD assertion for socket opcode check (#226)

This tweaks the socket opcode test in order to relax FD assertions.
Checking for exact FD numbe...

93da297b45653ad69af74214fe9920e08994486c authored almost 2 years ago
opcode: add TimeoutUpdate (#224)

22d2df299365239af607d80b1e44d66645655075 authored almost 2 years ago
adds newer timeout bitflags (#223)

503bb847e5ed5ec1b560246bc8de47af34d90949 authored almost 2 years ago
lib: make `register_buf_ring` unsafe (#221)

And clean up a clippy warning in the test case while we're at it.

0a8d5d16d2248f2b68aa8ab54b502524363cafb6 authored almost 2 years ago
release 0.6.0-pre

08e5409f5a472903ca944c75145712c2f136664e authored almost 2 years ago
opcode: use u64 type for the offset (#127)

`libc::off_t` is `i64` while kernel and liburing uses an `u64`
for the `offset` field in most o...

173efbcba0fb58cf87c717d8d963c8cde1a10abf authored almost 2 years ago
lib: make `register_buffers` unsafe (#219)

* lib: make `register_buffers` unsafe

BREAKING CHAMGE: this is required as incorrect inputs
...

4a72c92455114d13f7c1e148c59121dffa710efe authored almost 2 years ago
docs: add docs for renameat / unlinkat (#215)

1575da07f0c1d2246f6383ca04c54cd0c3f6191d authored almost 2 years ago
sys: Update to linux 6.2 (#213)

38d59055783bc13b5d9a76d63908916cd668c728 authored almost 2 years ago
tests: add test for shutdown op (#212)

6d3e60643d66c5a28e482fc93d423357d636140a authored almost 2 years ago
ci: use host kernel for tests (#211)

Until we find an ergonomic way to virtualize aarch64 within github
actions, let's stick with on...

2276c835ebbe208bf28c0b3243ba401aec3cc7fa authored almost 2 years ago
docs: add docs for shutdown op (#210)

13cb7b132adfd11b30ca3e36c526bf775145d10b authored almost 2 years ago
release 0.5.13 (#203)

36fb7f78c969705488fa2deea72696c7a9d5bbcc authored almost 2 years ago
opcode: add RecvMsgMulti (#201)

* opcode: add RecvMsgMulti

* change recvmsg_multishot unit test to use RecvMsgMulti

* impo...

fb46dacce0d38d26c235d2d94dcf7aeec908ba87 authored almost 2 years ago
types: add RecvMsgOut helper structure (#192)

This introduces a `RecvMsgOut` structure which allows consumers to
safely parse the buffered re...

6785e666869993f81414a5cfad501ef714c742e9 authored almost 2 years ago
cqueue: support IORING_CQE_F_SOCK_NONEMPTY bit in flags (#200)

cb3e4c0f658c12233fded882919a85e1d08b80b9 authored almost 2 years ago
opcode: add optional fixed_buf to SendZc (#193)

* opcode: add SendZcFixed

* add unit test

* move optional buf_index to SendZc

* move co...

9f3b88990c0b68ee2c6f3fe7db22f9464dbb7289 authored almost 2 years ago
fix submit_with_args to match submit_and_wait (#196)

88f43c3de57a00a31e130853c5735630d0200645 authored almost 2 years ago
user doc: update sqpoll and other feature user documentation (#195)

* user doc: update sqpoll user documentation

* is_feature_fast_poll comment

* is_feature_p...

e649582b8695c03e873012de27ad599b80789b12 authored almost 2 years ago
add setup options and some comments (#198)

* add setup_submit_all

* add setup_r_disabled 'available since' comment

* add setup_coop_t...

4a21c13977e9e1f5b2deb5e428b6632c153d98c1 authored almost 2 years ago
opcode: add "fixed file" support to openat, openat2 and close (#181)

49c200b6c43432537760f32bd9392d6aeeaa66cf authored almost 2 years ago
opcode: add "fixed file" support to accept (#184)

a7c299e07a4c6043bf064b7487125f78ad0aad73 authored almost 2 years ago
opcode: add support for IORING_POLL_ADD_MULTI (#191)

* opcode: add support for IORING_POLL_ADD_MULTI

* additional comment

a383f2ef640c7350af406b43d24460cd85a58b73 authored almost 2 years ago
opcode: add support for multi-shot accept (#186)

3c85218dfdbf858f34b489832769b71cfca91a70 authored almost 2 years ago
opcode: add RecvMulti (#188)

c8ad4c1dc80eb3f49b021f17a14ddca851f32f13 authored almost 2 years ago
cqueue: add docstrings for multishot and dynamic-buffer flags (#180)

This adds some docstrings for `cqueue::buffer_select()` and
`cqueue::more()`, in order to make ...

dcf6a124926cfb32bc94ff0b617bba6844bf54b6 authored almost 2 years ago
opcode: add support for IORING_OP_SOCKET (#179)

* opcode: add support for IORING_OP_SOCKET

This adds an ergonomic wrapper for the `IORING_OP_...

bc7234e60e53c8770bdfce496d6035834dc6bf9b authored almost 2 years ago
opcode: add support for IORING_MSG_SEND_FD (#175)

* opcode: add support for IORING_MSG_SEND_FD

This introduces a new `MsgRingSendFd` operation ...

c7d300bc95a18a4e022430b0cf2c3af6bee5c0e7 authored almost 2 years ago
lib: add missing helpers for feature probing (#174)

This re-syncs the set of helpers that can be used to probe features
supported by a ring/kernel,...

54bf4beb3146d275ff1e1b1f15677c14c0da37df authored almost 2 years ago
test/register-buf-ring: provide non-zero length argument to read op (#173)

This tweaks the `register_buf_ring` test, now passing a non-zero read length argument to the I/O...

31afc513b173b92365b0dc31e886c07cfa235f5e authored almost 2 years ago
Add support for IORING_SETUP_SINGLE_ISSUER (#172)

Closes #168

5048c8b03c0f9d9483ac172b1ffc6988dced2044 authored almost 2 years ago
opcode: add support for IORING_OP_MSG_RING (#170)

This adds a wrapper for the `IORING_OP_MSG_RING` opcode, which was
introduced in Linux 5.18.
N...

b532cdfeecc7cc712e40987fe2d7985e4ec3f441 authored almost 2 years ago
release 0.5.12

93fea2c99e6e25c436793bde43fad8ab554ac298 authored about 2 years ago
Add IORING_OP_SENDMSG_ZC opcode support. (#167)

* Added opcode for SENDMSG_ZC

* Add sendmsg_zc test.

* Added kernel version comment.

* ...

c8a702cc293dbd893a25482e284395c6e4f31e19 authored about 2 years ago
fix io-uring-test: remove unnecessary line (#165)

* fix io-uring-test: remove unnecessary line

An unnecessary line seems to have been left in a...

03464106971693243a1a5aa4dba183db3b92c348 authored about 2 years ago
Add buf_group field to Readv and RecvMsg opcodes (#124)

* Add buf_group field to Readv and RecvMsg opcodes

This enables the use of io_uring's automat...

f940cbe7ccefa0958c78a8b56ca73ee13e4a8b1c authored about 2 years ago
Also run CI 'check' job again Rust 1.48 (#163)

This should help maintain compatibility with stable Debian, which is
still on Rust 1.48.

Sig...

b5c816251a587a4caf5168049d3a39279c3f8724 authored about 2 years ago
release 0.5.10

b8a76163a5da551f834b7133aa61dc303d061d62 authored about 2 years ago
Add regression test for #154

38de039be7827b3a11566bf45e1745377c4bc29c authored about 2 years ago
Make the "unstable" feature have no effect (#162)

Dependent crates that rely on "unstable" functionality need to restrict
the set of supported io...

83461943670069ec0d32b06d8189c3351aa3bf62 authored about 2 years ago
Fix fmt

e085834a5332fe6f9d3341819935003f211edb32 authored about 2 years ago
update sys.rs to 6.1.0 rc4 (#157)

* Use BUILD_IO_URING_INCLUDE_FILE for build

* Update sys to 6.1.0 rc4

4089edec3a5dee9037d52a8efc13f4e8fb127016 authored about 2 years ago
Correctly report errors returned from direct-syscall (#155)

Fixes #154

c7198930f6e447881e077b7779a4b5f2bddd7a22 authored about 2 years ago
Avoid std::ptr::addr_of! in BufRingEntry::tail to support stable Debian (#161)

Debian bullseye (the current stable release) is still on Rust 1.48.
Thankfully, (*ring_base).0....

dbe65cd7bceecbdeff9ba2c2fd75ca2684e82a01 authored about 2 years ago
add IORING_SETUP_COOP_TASKRUN flag to builder (#160)

133e244ddd7204c122c8008a1bbc9dcc6b64e300 authored about 2 years ago
release 0.5.9

6c535d2ce8d05f7a5eb33a82d948e6eb7e19c6f7 authored about 2 years ago
register_buf_ring and unregister_buf_ring (#151)

* register_buf_ring and unregister_buf_ring

Add support for the buffer ring, available since ...

d748fe3779961be86d13ae6051687a74e43d2a44 authored about 2 years ago
io-uring-test: clippy and --no-default-features (#153)

Cleanup for

cd io-uring-test
cargo clippy
cargo run --no-default-features

68efa026e1a52d40e28361bea7f873afc822672f authored about 2 years ago
submit_and_wait: check overflow bit (#152)

* submit_and_wait: check overflow bit

The uring interface will set the IORING_SQ_CQ_OVERFLOW ...

f71bbfa7f6fdebbe45a1369a468efb2b04ca3d83 authored about 2 years ago
release 0.5.7

aae166577e307fd9f39d1d0401234b78b372ebb0 authored over 2 years ago
Add IORING_OP_SEND_ZC opcode (#147)

* Add IORING_OP_SEND_ZC, and IORING_CQE_F_NOTIF

* Add SendZc Builder

* Add test for IORING...

f2d8f1a8f5949db5814a91e649209b3858ac9602 authored over 2 years ago
add register_files_sparse (#145)

* add register_files_sparse

The ability to register a completely sparse file descriptor table...

0113b21ab1d3ad7cbecccb01cbe15b5fed5b5935 authored over 2 years ago
chore: fix test_file_fallocate (#142)

Split the test_file_fallocate function into two, one that tests the now
deprecated opcode::Fall...

9fa30e49a09dba68a4a1b097e2fde77ec1841613 authored over 2 years ago
Frankreh/graceful test fallback (#140)

* Avoid failure for extra Entry sizes

When the test calls generic_new for rings of new sizes,...

dfc6044ad2abe4a4c0d3127f2cfff21379e41096 authored over 2 years ago
release 0.5.6

0646ec4e62cf4413161d9670f2c167be3b5c5384 authored over 2 years ago
Use off64_t instead of off_t in opcodes where appropriate (#138)

* Make opcode offsets off64_t instead of off_t

off_t is a synonym for i32 on 32-bit platforms...

2a3fa313a89b3facb56208a75f45518a01bc193f authored over 2 years ago
release 0.5.5

6f35807d7f910be7528cdf2e50ae96e0fdb5b9bd authored over 2 years ago
chore: decrease required rust version to fix build on stable debian (#136)

It is available only since Rust 1.55, while stable Debian is still on
1.48.

Signed-off-by: A...

7ce61d069fbcff594c9da4a1288f72b533573b12 authored over 2 years ago
release 0.5.4

8556fc6970ad9cf0742dd4b956003f2c59d201c5 authored over 2 years ago
Add UringCmd opcode (#133)

* Update to kernel 5.19

Signed-off-by: Alberto Faria <[email protected]>

* Add support for...

3c635654af09ea72ed307d6f37b5b47bb81ff735 authored over 2 years ago
Implement I/O safety traits (#134)

* fix unneeded try_into

* use OwnedFd polyfill

* fmt

776c68c53785d8426a5a55e5c4483f65295691cf authored over 2 years ago
Update actions/checkout action to v3 (#130)

2e7b6fdca162622c7292c861fdd0adf8cdb95216 authored over 2 years ago
Update rust-bindgen to 0.60 (#131)

37cb07dfd916c789f882d748d28da2a42998cc9f authored over 2 years ago
test: disable direct-syscall feature

7f7b62d602deaf9587a53c936496e620ef38af0d authored almost 3 years ago
Add wrapper for io_uring_register(IORING_REGISTER_IOWQ_MAX_WORKERS) (#121)

`IORING_REGISTER_IOWQ_MAX_WORKERS` is available since Linux 5.15.

See function documentation ...

0fdc1e3be85b6b19d1c2494df783e2d6a3027557 authored almost 3 years ago
Allow debug printing of the submission queue (#120)

When debugging programs using io_uring it can be useful to check the
state of the submission qu...

1c572693c7d617a55da3399d77b205b607fa0585 authored about 3 years ago
Update to kernel 5.16 (#118)

d6133fcb4b796f531ed86be3ca0665d09915fc54 authored about 3 years ago
Update Read/Write docs (#117)

94d9efea3626cfd5e4ec8e4ea405c84e93a4fdfa authored about 3 years ago
Add new Linux 5.15 opcodes (#113)

IORING_OP_MKDIRAT, IORING_OP_SYMLINKAT, and IORING_OP_LINKAT

Signed-off-by: Ben Aaron Goldber...

71247085e57adb455ecd7b0ee4ecf01f56b985ff authored about 3 years ago
releaes 0.5.2 (#107)

ae01f7b192f40f23fb59ee48cfd55631e51a6d92 authored over 3 years ago
Add note to README (#106)

b819f3905a2abd605d51ea7a28fb6aaecf3d3048 authored over 3 years ago
Remove ownedsplit (#100)

and stable submission_shared/completion_shared

b60c1ce9598963c8aa419c8d6ec03ea278cea809 authored over 3 years ago
Fix iopoll submit (#102)

60cbf974be2be678d33634a7816d8056734adf59 authored over 3 years ago
Remove obsolete test_queue_nodrop (#96)

kernel 5.13 changed the behavior and this test is no longer applicable.
see https://github.com/...

1621748caa0f10c90e5c7341c88fe4495b0c038f authored over 3 years ago
Kernel 5.14 (#93)

* Use cfg attr

* Update api to 5.14

* Fix fmt

85c83bd8a4f48eed4d12534a8a7d963d94e79f2e authored over 3 years ago
Use libc syscall number (#92)

* Use libc syscall number

* Fix fmt

* Fix ci arch

114127e95716a537011696dac5914c78b9595493 authored over 3 years ago