blk-mq: delete redundant tagset map update when fallback
authorChengming Zhou <zhouchengming@bytedance.com>
Mon, 21 Aug 2023 09:56:01 +0000 (17:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 22 Aug 2023 14:58:05 +0000 (08:58 -0600)
commit2bc4d7a355a4d617452eaf1b21d6d261194b3667
tree3fa91d109475be081c980297e749b3543ac9df91
parente1dd7bc93029024af5688253b0c05181d6e01f8e
blk-mq: delete redundant tagset map update when fallback

When we increase nr_hw_queues fail, the fallback path will use
blk_mq_update_queue_map() to clear and update all maps.
Obviously, this line of update of HCTX_TYPE_DEFAULT only is not
needed, so delete it.

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230821095602.70742-2-chengming.zhou@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c