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

Support flags when io_uring_setup #76

Open
wineway opened this issue Feb 22, 2021 · 3 comments
Open

Support flags when io_uring_setup #76

wineway opened this issue Feb 22, 2021 · 3 comments

Comments

@wineway
Copy link

wineway commented Feb 22, 2021

seems current flags in io_uring_params is 0 by default, is there any plan to support configurations to io_uring_setup?

@normanmaurer
Copy link
Member

@wineway not atm... what you wanted to configure here?

@wineway
Copy link
Author

wineway commented Feb 22, 2021

@wineway not atm... what you wanted to configure here?

@normanmaurer like IORING_SETUP_IOPOLL, IORING_SETUP_SQPOLL etc.

refer to man page

@martin-g
Copy link
Contributor

martin-g commented Mar 1, 2021

I have this almost working. PR is coming!

martin-g added a commit to martin-g/netty-incubator-transport-io_uring that referenced this issue Mar 1, 2021
Motivation:
It should be possible the user application to pass IO_SETUP_** flags (https://manpages.debian.org/unstable/liburing-dev/io_uring_setup.2.en.html)

Modifications:
Add 'int flags' argument to io_uring_setup() call and in the respective Java APIs

Result:
io_uring_params.flags could be initialized before the call to io_uring_setup()
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

No branches or pull requests

3 participants