[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZQWiVwVh3VcjA6aD@fedora>
Date: Sat, 16 Sep 2023 20:40:55 +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 2/5] blk-mq: remove RQF_MQ_INFLIGHT
On Wed, Sep 13, 2023 at 03:16:13PM +0000, chengming.zhou@...ux.dev wrote:
> From: Chengming Zhou <zhouchengming@...edance.com>
>
> Since the previous patch change to only account active requests when
> we really allocate the driver tag, the RQF_MQ_INFLIGHT can be removed
> and no double account problem.
>
> 1. none elevator: flush request will use the first pending request's
> driver tag, won't double account.
>
> 2. other elevator: flush request will be accounted when allocate driver
> tag when issue, and will be unaccounted when it put the driver tag.
>
> Signed-off-by: Chengming Zhou <zhouchengming@...edance.com>
Reviewed-by: Ming Lei <ming.lei@...hat.com>
Thanks,
Ming
Powered by blists - more mailing lists