[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c7f352b4-0255-d87a-1fb4-0b55984df137@kernel.dk>
Date: Sun, 22 Mar 2020 11:04:55 -0600
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 1/1] io-wq: close cancel gap for hashed linked work
On 3/22/20 10:14 AM, Pavel Begunkov wrote:
> After io_assign_current_work() of a linked work, it can be decided to
> offloaded to another thread so doing io_wqe_enqueue(). However, until
> next io_assign_current_work() it can be cancelled, that isn't handled.
>
> Don't assign it, if it's not going to be executed.
This needs a Fixes: line as well. I'm guessing like this:
Fixes: 60cf46ae6054 ("io-wq: hash dependent work")
but I didn't look too closely yet... Fix looks good, though.
--
Jens Axboe
Powered by blists - more mailing lists