Closed sxstd001 closed 5 months ago
Do you have a reproducer for this? I can certainly take a look, but would save me a lot of time if I didn't have to write a reproducer first.
Please include a comment when you close an issue. Was it a problem in your application?
if use params.flags |= IORING_SETUP_SINGLE_ISSUER; Instantiate IO_URING must in it's owner thread.
or you can create it with IORING_SETUP_R_DISABLED
, pass the ring to your final task/process and enable it there using IORING_REGISTER_ENABLE_RINGS
.
When using epoll to listen on multiple uring_fds, occasionally, when an event occurs on a uring_fd, it may not wake up the epoll.
Scenario: Using epoll_wait to monitor multiple uring_fds. When submitting io_uring_prep_nop to one of the uring_fds, sometimes epoll is not awakened. a very mysterious bug. By proactively peek the uring, can peek at the nop_sqe that was submitted earlier.