Re: [PATCH 5.10 21/63] kernel/io_uring: cancel io_uring before task works

From: Sasha Levin
Date: Mon Jan 04 2021 - 12:43:51 EST


On Mon, Jan 04, 2021 at 04:06:39PM +0000, Pavel Begunkov wrote:
On 04/01/2021 15:57, Greg Kroah-Hartman wrote:
From: Pavel Begunkov <asml.silence@xxxxxxxxx>

commit b1b6b5a30dce872f500dc43f067cba8e7f86fc7d upstream.

For cancelling io_uring requests it needs either to be able to run
currently enqueued task_works or having it shut down by that moment.
Otherwise io_uring_cancel_files() may be waiting for requests that won't
ever complete.

Greg, can you drop it from stable for now? I'll backport it later when
related problems are sorted.

I've dropped it, let us know when it's good to go back in.

--
Thanks,
Sasha