Setting sq_poll fails
wspeirs opened this issue · comments
William Speirs commented
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!
Heinz N. Gies commented
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.