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

Add io_uring_register flags #1011

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmitry-salin
Copy link

Adds IoringRegisterFlags to rustix::io_uring::io_uring_register.

int io_uring_register(unsigned int fd, unsigned int opcode, void *arg, unsigned int nr_args);

fd is the file descriptor returned by a call to io_uring_setup. If opcode has the flag IORING_REGISTER_USE_REGISTERED_RING ored into it, fd is instead the index of a registered ring fd.

Resources: liburing, kernel

@dmitry-salin dmitry-salin changed the title Add io_uring_register flags Add io_uring_register flags Feb 6, 2024
@sunfishcode sunfishcode added the semver bump Issues that will require a semver-incompatible fix label Feb 7, 2024
@ryanseipp
Copy link
Contributor

We now have io_uring_register_with merged in #1115 that adds support for IORING_REGISTER_USE_REGISTERED_RING

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver bump Issues that will require a semver-incompatible fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants