[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZQ1VDRYXpynVXU/4@fedora>
Date: Fri, 22 Sep 2023 16:49:17 +0800
From: Ming Lei <ming.lei@...hat.com>
To: chengming.zhou@...ux.dev
Cc: axboe@...nel.dk, hch@....de, bvanassche@....org, kbusch@...nel.org,
mst@...hat.com, damien.lemoal@...nsource.wdc.com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Chengming Zhou <zhouchengming@...edance.com>
Subject: Re: [PATCH v2 4/5] blk-mq: update driver tags request table when
start request
On Wed, Sep 13, 2023 at 03:16:15PM +0000, chengming.zhou@...ux.dev wrote:
> From: Chengming Zhou <zhouchengming@...edance.com>
>
> 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@...edance.com>
> ---
Reviewed-by: Ming Lei <ming.lei@...hat.com>
Thanks
Ming
Powered by blists - more mailing lists