Open
Description
运行uring的示例程序-提交队列轮询.c 有如下问题:
首先,编译的时候120行会报warning,这个return 0就可以了
test_ioring.cpp:120:1: warning: control reaches end of non-void function [-Wreturn-type]
120 | }
然后,程序运行起来,会提示错误。我的环境是linux 5.4.0
$ sudo ./uring
Kernel thread io_uring-sq is not running.
Error in async operation: Invalid argument
Result of the operation: -22
Error in async operation: Invalid argument
Result of the operation: -22
1363500 ? 00:00:00 io_uring-sq
Kernel thread io_uring-sq found running...
Error in async operation: Invalid argument
Result of the operation: -22
Error in async operation: Invalid argument
Result of the operation: -22
Contents read from file:
Metadata
Metadata
Assignees
Labels
No labels