linux/drivers/scsi/smartpqi
Daniel Wagner 94970cfb5f scsi: use block layer helpers to calculate num of queues
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@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20250617-isolcpus-queue-counters-v1-4-13923686b54b@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-07-01 10:24:19 -06:00
..
Kconfig scsi: smartpqi: Update copyright to 2023 2023-05-08 07:17:12 -04:00
Makefile
smartpqi.h scsi: smartpqi: add counter for parity write stream requests 2024-08-28 22:10:34 -04:00
smartpqi_init.c scsi: use block layer helpers to calculate num of queues 2025-07-01 10:24:19 -06:00
smartpqi_sas_transport.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
smartpqi_sis.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
smartpqi_sis.h scsi: smartpqi: Add fw log to kdump 2024-08-28 22:10:34 -04:00