Thread (17 messages) 17 messages, 3 authors, 2025-01-13

Re: [PATCH v5 5/9] virtio: blk/scsi: use block layer helpers to calculate num of queues

From: Hannes Reinecke <hare@suse.de>
Date: 2025-01-13 07:11:42
Also in: linux-block, linux-nvme, linux-scsi, lkml

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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
---
  drivers/block/virtio_blk.c | 5 ++---
  drivers/scsi/virtio_scsi.c | 1 +
  2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help