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

Aaron Tomlin atomlin at atomlin.com
Tue May 5 11:42:19 PDT 2026


On Wed, Apr 22, 2026 at 02:52:03PM -0400, Aaron Tomlin wrote:
> From: Daniel Wagner <wagi at kernel.org>
> 
> 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.
> 
> Fixes: 94970cfb5f10 ("scsi: use block layer helpers to calculate num of queues")

Commit 94970cfb5f10 was a refactoring patch but it did not modify or break
aacraid. I believe we should drop the "Fixes:" tag and use the following:

    This brings aacraid in line with the API migration initiated for other
    SCSI drivers in commit 94970cfb5f10 ("scsi: use block layer helpers to
    calculate num of queues")

-- 
Aaron Tomlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20260505/4b8dd8a4/attachment-0001.sig>


More information about the Linux-nvme mailing list