linux/io_uring
Pavel Begunkov 29d63b9403 io_uring: align iowq and task request error handling
There is a difference in how io_queue_sqe and io_wq_submit_work treat
error codes they get from io_issue_sqe. The first one fails anything
unknown but latter only fails when the code is negative.

It doesn't make sense to have this discrepancy, align them to the
io_queue_sqe behaviour.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c550e152bf4a290187f91a4322ddcb5d6d1f2c73.1721819383.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-07-24 08:01:49 -06:00
..
2024-07-20 11:04:57 -06:00
2024-06-19 07:57:21 -06:00
2024-07-15 13:49:10 -07:00
2024-06-20 15:19:17 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00