commit | 991468dcf198bb87f24da330676724a704912b47 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Jul 23 11:53:54 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jul 23 16:44:51 2021 -0600 |
tree | fae574f2aeff461ddfa0e95389f4246960643555 | |
parent | 3c30ef0f78cfb36fdb13753794b0384cf7e37cc9 [diff] |
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: Jens Axboe <axboe@kernel.dk>