Re: [PATCH 1/1] io_uring: optimise use of ctx->drain_next

From: Jens Axboe
Date: Thu Jan 16 2020 - 21:59:27 EST


On 1/16/20 5:57 PM, Pavel Begunkov wrote:
> Move setting ctx->drain_next to the only place it could be set, when it
> got linked non-head requests. The same for checking it, it's interesting
> only for a head of a link or a non-linked request.
>
> No functional changes here. This removes some code from the common path
> and also removes REQ_F_DRAIN_LINK flag, as it doesn't need it anymore.

Applied, thanks.

--
Jens Axboe