[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7b684479-d0f9-4e74-b947-5ceba577734a@kernel.dk>
Date: Wed, 18 Dec 2019 09:56:51 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5] io_uring: don't wait when under-submitting
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
Powered by blists - more mailing lists