[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d09eae06-b2e4-051e-359c-efff1ef957a7@kernel.dk>
Date: Thu, 5 Dec 2019 07:09:56 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring: hook all linked requests via link_list
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
Powered by blists - more mailing lists