]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Don't clear driver tags own mapping
authorJohn Garry <john.garry@huawei.com>
Tue, 5 Oct 2021 10:23:33 +0000 (18:23 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:02 +0000 (06:17 -0600)
commit74255a1054ad5bf985ec0f3075e37e2fab32faf9
treea88320f1fd3d8657b5f737f5df4f7605cefef3c8
parent9b61a42fc29491b81cb6e609fe5fae444655e3b1
blk-mq: Don't clear driver tags own mapping

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@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/1633429419-228500-9-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c