]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: perform IOPOLL reaping if canceler is thread itself
authorJens Axboe <axboe@kernel.dk>
Thu, 11 Mar 2021 17:49:20 +0000 (10:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Mar 2021 17:49:20 +0000 (10:49 -0700)
commit4dc211854497364563117635897bf8e2e338678e
tree46acca647cf9277efe8a50c322a02060b75db348
parent5f8b4598f14b47b9b771f0b822df45fad21db761
io_uring: perform IOPOLL reaping if canceler is thread itself

We bypass IOPOLL completion polling (and reaping) for the SQPOLL thread,
but if it's the thread itself invoking cancelations, then we still need
to perform it or no one will.

Fixes: d6e06701ec8b ("io_uring: deduplicate core cancellations sequence")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c