Re: [PATCH] io_uring: hook all linked requests via link_list

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


On 12/5/19 6:16 AM, Pavel Begunkov wrote:
> Links are created by chaining requests through req->list with an
> exception that head uses req->link_list. (e.g. link_list->list->list)
> Because of that, io_req_link_next() needs complex splicing to advance.
>
> Link them all through list_list. Also, it seems to be simpler and more
> consistent IMHO.

Agree, much easier to grok and verify. Applied, thanks.

--
Jens Axboe