[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167482716231.273660.4883362917562226118.b4-ty@kernel.dk>
Date: Fri, 27 Jan 2023 06:46:02 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>,
Dylan Yudaken <dylany@...a.com>
Cc: io-uring@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...com, stable@...r.kernel.org
Subject: Re: [PATCH] io_uring: always prep_async for drain requests
On Fri, 27 Jan 2023 02:59:11 -0800, Dylan Yudaken wrote:
> Drain requests all go through io_drain_req, which has a quick exit in case
> there is nothing pending (ie the drain is not useful). In that case it can
> run the issue the request immediately.
>
> However for safety it queues it through task work.
> The problem is that in this case the request is run asynchronously, but
> the async work has not been prepared through io_req_prep_async.
>
> [...]
Applied, thanks!
[1/1] io_uring: always prep_async for drain requests
commit: ef5c600adb1d985513d2b612cc90403a148ff287
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists