Re: [PATCH v4 08/13] blk-mq: Don't clear driver tags own mapping

From: Ming Lei
Date: Sat Sep 25 2021 - 21:43:21 EST


On Fri, Sep 24, 2021 at 04:28:25PM +0800, John Garry wrote:
> Function blk_mq_clear_rq_mapping() is required to clear the sched tags
> mappings in driver tags rqs[].
>
> But there is no need for a driver tags to clear its own mapping, so skip
> clearing the mapping in this scenario.
>
> Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
> Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

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

--
Ming