Messages in this thread |  | | Subject | Re: [PATCH v5] io_uring: don't wait when under-submitting | | From | Jens Axboe <> | | Date | Wed, 18 Dec 2019 09:56:51 -0700 |
| |
On 12/18/19 9:53 AM, Pavel Begunkov wrote: > There is no reliable way to submit and wait in a single syscall, as > io_submit_sqes() may under-consume sqes (in case of an early error). > Then it will wait for not-yet-submitted requests, deadlocking the user > in most cases. > > Don't wait/poll if can't submit all sqes
This looks great, thanks, applied.
-- Jens Axboe
|  |