Re: [PATCH v2 4/5] blk-mq: update driver tags request table when start request

From: Ming Lei
Date: Fri Sep 22 2023 - 04:50:27 EST


On Wed, Sep 13, 2023 at 03:16:15PM +0000, chengming.zhou@xxxxxxxxx wrote:
> From: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>
>
> Now we update driver tags request table in blk_mq_get_driver_tag(),
> so the driver that support queue_rqs() have to update that inflight
> table by itself.
>
> Move it to blk_mq_start_request(), which is a better place where
> we setup the deadline for request timeout check. And it's just
> where the request becomes inflight.
>
> Signed-off-by: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>
> ---

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

Thanks
Ming