]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io-wq: reorder cancellation pending -> running
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 15 Jun 2020 07:24:02 +0000 (10:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 09:42:08 +0000 (11:42 +0200)
commitdc68becec944f9c5d83e1897fb596ec5c44c68ef
treee6ff69708569730633757462f62dced99cce3bdd
parentb9d077f3781412f304968cf806f636ee91b4470e
io-wq: reorder cancellation pending -> running

[ Upstream commit f4c2665e33f48904f2766d644df33fb3fd54b5ec ]

Go all over all pending lists and cancel works there, and only then
try to match running requests. No functional changes here, just a
preparation for bulk cancellation.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/io-wq.c