On Mon, 18 Oct 2021 21:34:45 +0800, Hao Xu wrote: > The current logic of requests with IOSQE_ASYNC is first queueing it to > io-worker, then execute it in a synchronous way. For unbound works like > pollable requests(e.g. read/write a socketfd), the io-worker may stuck > there waiting for events for a long time. And thus other works wait in > the list for a long time too. > Let's introduce a new way for unbound works (currently pollable > requests), with this a request will first be queued to io-worker, then > executed in a nonblock try rather than a synchronous way. Failure of > that leads it to arm poll stuff and then the worker can begin to handle > other works. > The detail process of this kind of requests is: > > [...] Applied, thanks! [1/1] io_uring: implement async hybrid mode for pollable requests commit: 90fa02883f063b971ebfd9f5b2184b38b83b7ee3 Best regards, -- Jens Axboe