• Jens Axboe's avatar
    io_uring: cancel pending async work if task exits · 6ab23144
    Jens Axboe authored
    Normally we cancel all work we track, but for untracked work we could
    leave the async worker behind until that work completes. This is totally
    fine, but does leave resources pending after the task is gone until that
    work completes.
    
    Cancel work that this task queued up when it goes away.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    6ab23144
io_uring.c 168 KB