[PATCH v5 4/9] scsi: use block layer helpers to calculate num of queues
Hannes Reinecke
hare at suse.de
Sun Jan 12 23:10:43 PST 2025
On 1/10/25 17:26, Daniel Wagner wrote:
> Multiqueue devices should only allocate queues for the housekeeping CPUs
> when isolcpus=managed_irq is set. This avoids that the isolated CPUs get
> disturbed with OS workload.
>
> Use helpers which calculates the correct number of queues which should
> be used when isolcpus is used.
>
> Signed-off-by: Daniel Wagner <wagi at kernel.org>
> ---
> drivers/scsi/megaraid/megaraid_sas_base.c | 15 +++++++++------
> drivers/scsi/qla2xxx/qla_isr.c | 10 +++++-----
> drivers/scsi/smartpqi/smartpqi_init.c | 5 ++---
> 3 files changed, 16 insertions(+), 14 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list