Hi, this is a really great work!
I followed the readme and can successfully build this project. But the code fails in https://github.com/L-v-M/async/blob/main/storage/src/storage/file.cc#L63 when I run query 1 in async mode. The bytes_read returned is -22.
I have checked the code in IOUringAwaiter. It's weird that the SetResult would set _result to be 0, but await_resume still returns result_ with value -22.
I'm not really sure whether this is a bug or it comes from a wrong system configuration. I did the experiment on a fresh ubuntu 20.04 with gcc-11.1.0 installed.
Can anyone help me fix this problem? Many thanks in advance.
@L-v-M @pfent
Hi, this is a really great work!
I followed the readme and can successfully build this project. But the code fails in https://github.com/L-v-M/async/blob/main/storage/src/storage/file.cc#L63 when I run query 1 in async mode. The
bytes_readreturned is -22.I have checked the code in IOUringAwaiter. It's weird that the SetResult would set
_resultto be 0, but await_resume still returnsresult_with value -22.I'm not really sure whether this is a bug or it comes from a wrong system configuration. I did the experiment on a fresh ubuntu 20.04 with gcc-11.1.0 installed.
Can anyone help me fix this problem? Many thanks in advance.
@L-v-M @pfent