]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: properly handle SQPOLL request cancelations
authorJens Axboe <axboe@kernel.dk>
Fri, 30 Oct 2020 15:37:30 +0000 (09:37 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Nov 2020 17:22:56 +0000 (10:22 -0700)
commit4457b0a4443fdc6d44c9ec53300de4d276108ee1
treef9320271cdcca727ca356b38c6159436412752f9
parent5c9a195758ead76fba6ad0241fe004318ff54687
io_uring: properly handle SQPOLL request cancelations

Track if a given task io_uring context contains SQPOLL instances, so we
can iterate those for cancelation (and request counts). This ensures that
we properly wait on SQPOLL contexts, and find everything that needs
canceling.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/linux/io_uring.h