commit | 0e9ddb39b7d964d716cddd6e6bd1aab3f800066e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Feb 07 22:34:26 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 08 08:27:25 2021 -0700 |
tree | 1ef233d1a78b53a893ce7c1c1358481bbacc6db4 | |
parent | 257e84a5377fbbc336ff563833a8712619acce56 [diff] |
io_uring: cleanup up cancel SQPOLL reqs across exec For SQPOLL rings tctx_inflight() always returns zero, so it might skip doing full cancelation. It's fine because we jam all sqpoll submissions in any case and do go through files cancel for them, but not nice. Do the intended full cancellation, by mimicking __io_uring_task_cancel() waiting but impersonating SQPOLL task. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>