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

Setting sq_poll fails #21

Open
wspeirs opened this issue Feb 28, 2020 · 1 comment
Open

Setting sq_poll fails #21

wspeirs opened this issue Feb 28, 2020 · 1 comment

Comments

@wspeirs
Copy link

wspeirs commented Feb 28, 2020

Attempting to use sq_poll fails with the following error:

thread '<unnamed>' panicked at 'error in cqe reaper: Os { code: 6, kind: Other, message: "No such device or address" }'

I believe this is because io_uring_register is never called on the fd. I see that register is mapped out in https://github.com/spacejam/rio/blob/master/src/io_uring/syscall.rs#L81 but never appears to be called anywhere.

Am I missing something, or does this still need to be implemented? Thanks!

@Licenser
Copy link
Contributor

Heya,
sq_poll is currently not fully implemented #8 tries to implement parts of it but got somewhat stuck. It includes an example that almost works ( needs to be run as root ). Give it a try perhaps you have a insight that moves it forward.

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

2 participants