]> git.ipfire.org Git - thirdparty/linux.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)
commitfdaf083cdfb556a45c422c8998268baf1ab26829
treef9320271cdcca727ca356b38c6159436412752f9
parent3dd1680d1418f22f7ddaf98a4eab66285a099b3e
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