]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: don't redirect completion for hctx withs only one ctx mapping
authorLiu Song <liusong@linux.alibaba.com>
Wed, 21 Sep 2022 03:32:03 +0000 (11:32 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 24 Sep 2022 15:02:30 +0000 (09:02 -0600)
commita302882780fc3f6e2681a4143a224f20221c91f2
treedf4dbd2492ff7150eebfdafb3135ae8a242556d8
parent5f01d5256ec24ecdfd3231d9094e29ec8af213bd
blk-mq: don't redirect completion for hctx withs only one ctx mapping

High-performance NVMe devices usually support a large hw queues, which
ensures a 1:1 mapping of hctx and ctx. In this case there will be no
remote request, so we don't need to care about it.

Signed-off-by: Liu Song <liusong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1663731123-81536-1-git-send-email-liusong@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c