Skip to content

Conversation

talex5
Copy link
Collaborator

@talex5 talex5 commented Sep 4, 2025

This allows passing flags to create, e.g.

Uring.create ~flags:Uring.Setup_flags.(single_issuer + defer_taskrun)

which avoids the issue in ocaml-multicore/eio#788 (see axboe/liburing#1452).

We should probably enable some of these flags in Eio (e.g. IORING_SETUP_COOP_TASKRUN and IORING_SETUP_SINGLE_ISSUER at least).

@talex5 talex5 merged commit c95951d into ocaml-multicore:main Sep 6, 2025
1 check passed
@talex5 talex5 deleted the setup-flags branch September 6, 2025 10:08
avsm added a commit to avsm/opam-repository that referenced this pull request Sep 27, 2025
CHANGES:

- Fix use-after-free data race in CQE handlers (@avsm ocaml-multicore/ocaml-uring#124, reported ocaml-multicore/ocaml-uring#123 by @polytypic).

- Add socket bind and listen operations (@avsm ocaml-multicore/ocaml-uring#118).

- Update liburing to 2.7 (@avsm ocaml-multicore/ocaml-uring#118).

- Add `Uring.Setup_flags` module (@talex5 ocaml-multicore/ocaml-uring#122).

- Clean up configurator code and update primitives.h (@talex5 ocaml-multicore/ocaml-uring#121).

- Add `mkdirat` operation (@patricoferris ocaml-multicore/ocaml-uring#120).
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