Re: [PATCH] io_uring: fix error handling in io_queue_link_head

From: Jens Axboe
Date: Thu Dec 05 2019 - 09:09:44 EST


On 12/5/19 6:15 AM, Pavel Begunkov wrote:
> In case of an error io_submit_sqe() drops a request and continues
> without it, even if the request was a part of a link. Not only it
> doesn't cancel links, but also may execute wrong sequence of actions.
>
> Stop consuming sqes, and let the user handle errors.

Thanks, applied.

--
Jens Axboe