Am 13.02.2026 um 15:26 hat Jens Axboe geschrieben: > gsource_check() only looks at the ppoll revents for the io_uring fd, > but CQEs can be posted during gsource_prepare()'s io_uring_submit() > call via kernel task_work processing on syscall exit. These completions > are already sitting in the CQ ring but the ring fd may not be signaled > yet, causing gsource_check() to return false. > > Add a fallback io_uring_cq_ready() check so completions that arrive > during submission are dispatched immediately rather than waiting for > the next ppoll() cycle. > > Signed-off-by: Jens Axboe <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
