On Thu, 24 Mar 2022 07:34:35 -0700, Dylan Yudaken wrote: > Do not set REQ_F_NOWAIT if the socket is non blocking. When enabled this > causes the accept to immediately post a CQE with EAGAIN, which means you > cannot perform an accept SQE on a NONBLOCK socket asynchronously. > > By removing the flag if there is no pending accept then poll is armed as > usual and when a connection comes in the CQE is posted. > > [...] Applied, thanks! [1/1] io_uring: allow async accept on O_NONBLOCK sockets commit: 6d4809f49bec8dc3b244debcb97f78239e52f5bb Best regards, -- Jens Axboe