Closed CarterLi closed 5 years ago
Unfortunately I'm not the person to ask, and this repo is just for Node.js bindings for io_uring. @axboe would be the one. He's been helpful on twitter if you want to ask there maybe. https://twitter.com/axboe
Ok, thanks for your information
I don't know where to ask, but this is my question:
Instead of combining with
poll_add
and a plainread
, I was trying to read a timerfd directly usingio_uring_prep_readv
.My expectation is that the operation will be finished ( got by
io_uring_peek_cqe
) after the timer expired, but it ended up with-EINVAL
( cqe->res ).The same setup works as expected with a plain
readv
andio_uring_prep_poll_add
.Is it intended behavior? Does eventfd work as timerfd too?
Thanks in advance.