Error when running ./uring_echo_server
Opened this issue · 1 comments
TNTWEN commented
Hello! Thanks for your great work!
I have make this project successfully,but when running ./uring_echo_server,error happens like this:
Kernel version: 5.15.0-67-generic
./uring_echo_server: io_uring_register_buf_ring: Invalid argument
I want to know how to solve this problem,Thanks!
joakimthun commented
Hey,
This is most likely a problem with your kernel version. For e.g. io_uring_register_buf_ring
you need a version >= 5.19:
https://man7.org/linux/man-pages/man3/io_uring_register_buf_ring.3.html
As mentioned in the readme, this code has only been tested with kernel version 6.0.9.
I hope that helps!