[PATCH v3] blk-mq: check on cpu id when there is only one ctx mapping

Jens Axboe axboe at kernel.dk
Wed Jun 14 10:11:51 PDT 2023


On Wed, 14 Jun 2023 08:25:29 +0800, Ed Tsai wrote:
> commit f168420c62e7 ("blk-mq: don't redirect completion for hctx withs
> only one ctx mapping") When nvme applies a 1:1 mapping of hctx and ctx,
> there will be no remote request.
> 
> But for ufs, the submission and completion queues could be asymmetric.
> (e.g. Multiple SQs share one CQ) Therefore, 1:1 mapping of hctx and
> ctx won't complete request on the submission cpu. In this situation,
> this nr_ctx check could violate the QUEUE_FLAG_SAME_FORCE, as a result,
> check on cpu id when there is only one ctx mapping.
> 
> [...]

Applied, thanks!

[1/1] blk-mq: check on cpu id when there is only one ctx mapping
      commit: 30654614f3d27230200b1650f6025a2ce67900b4

Best regards,
-- 
Jens Axboe






More information about the linux-arm-kernel mailing list