[PATCH v10 01/13] scsi: aacraid: use block layer helpers to calculate num of queues

Martin K. Petersen martin.petersen at oracle.com
Thu Apr 2 18:43:05 PDT 2026


Aaron,

> The calculation of the upper limit for queues does not depend solely on
> the number of online CPUs; for example, the isolcpus kernel
> command-line option must also be considered.
>
> To account for this, the block layer provides a helper function to
> retrieve the maximum number of queues. Use it to set an appropriate
> upper queue number limit.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list