On Sun, Aug 23, 2020 at 02:04:25PM -0600, Jens Axboe wrote:
On 8/23/20 7:48 AM, Jens Axboe wrote:
On 8/23/20 6:16 AM, gregkh@linuxfoundation.org wrote:
The patch below does not apply to the 5.7-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to stable@vger.kernel.org.
This needs this one backported:
commit 4f26bda1522c35d2701fc219368c7101c17005c1 Author: Pavel Begunkov asml.silence@gmail.com Date: Mon Jun 15 10:24:03 2020 +0300
io-wq: add an option to cancel all matched reqs
I'll take a look later today, unless Pavel beats me to it.
OK, you just need to cherry pick this one:
commit f4c2665e33f48904f2766d644df33fb3fd54b5ec Author: Pavel Begunkov asml.silence@gmail.com Date: Mon Jun 15 10:24:02 2020 +0300
io-wq: reorder cancellation pending -> running
and then cherry pick this one:
commit 4f26bda1522c35d2701fc219368c7101c17005c1 Author: Pavel Begunkov asml.silence@gmail.com Date: Mon Jun 15 10:24:03 2020 +0300
io-wq: add an option to cancel all matched reqs
and then the patch will apply directly without needing any sort of massaging. Looking at that series, please pick this one as well (either at the end, or after the first two):
commit 44e728b8aae0bb6d4229129083974f9dea43f50b Author: Pavel Begunkov asml.silence@gmail.com Date: Mon Jun 15 10:24:04 2020 +0300
io_uring: cancel all task's requests on exit
Done, thanks!