[PATCH 2/5] blk-mq: add number of queue calc helper

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Jun 24 21:35:32 PDT 2025


On 6/17/25 06:43, Daniel Wagner wrote:
> Add two variants of helper functions that calculate the correct number
> of queues to use. Two variants are needed because some drivers base
> their maximum number of queues on the possible CPU mask, while others
> use the online CPU mask.
>
> Reviewed-by: Christoph Hellwig<hch at lst.de>
> Reviewed-by: Hannes Reinecke<hare at suse.de>
> Reviewed-by: Ming Lei<ming.lei at redhat.com>
> Signed-off-by: Daniel Wagner<wagi at kernel.org>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck


More information about the Linux-nvme mailing list