Skip to content
Commit 991468dc authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: explicitly catch any illegal async queue attempt



Catch an illegal case to queue async from an unrelated task that got
the ring fd passed to it. This should not be possible to hit, but
better be proactive and catch it explicitly. io-wq is extended to
check for early IO_WQ_WORK_CANCEL being set on a work item as well,
so it can run the request through the normal cancelation path.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3c30ef0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment