]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io-wq: add an option to cancel all matched reqs
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 15 Jun 2020 07:24:03 +0000 (10:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 09:42:08 +0000 (11:42 +0200)
commitfedb45ab9dc517775a3591f0599ab966eb0fdf46
tree978cdd1f51ed60f6cc6384cc3145e2fec72c8850
parentdc68becec944f9c5d83e1897fb596ec5c44c68ef
io-wq: add an option to cancel all matched reqs

[ Upstream commit 4f26bda1522c35d2701fc219368c7101c17005c1 ]

This adds support for cancelling all io-wq works matching a predicate.
It isn't used yet, so no change in observable behaviour.

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
fs/io-wq.h
fs/io_uring.c