]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: unify SQPOLL and user task cancellations
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 14 Jun 2021 01:36:23 +0000 (02:36 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:13 +0000 (08:23 -0600)
commit551f775ff3ef66983ad39d8aaf576ed22b3b11af
treeb2a20532549eca05fbc9186455017ab1b9c98b0b
parentffe9a760179fd14c802712a84a44f2518ca61c01
io_uring: unify SQPOLL and user task cancellations

Merge io_uring_cancel_sqpoll() and __io_uring_cancel() as it's easier to
have a conditional ctx traverse inside than keeping them in sync.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/adfe24d6dad4a3883a40eee54352b8b65ac851bb.1623634181.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c