OSDN Git Service

virtio_scsi: use virtio IRQ affinity
authorChristoph Hellwig <hch@lst.de>
Sun, 5 Feb 2017 17:15:26 +0000 (18:15 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Feb 2017 18:54:06 +0000 (20:54 +0200)
commit0d9f0a52c8b9f7a003fe1650b7d5fb8518efabe0
treefab497b3fc1a878f5a79e7512e95c90fb36713b5
parentad71473d9c43725c917fc5a86d54ceb7001ee28c
virtio_scsi: use virtio IRQ affinity

Use automatic IRQ affinity assignment in the virtio layer if available,
and build the blk-mq queues based on it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/scsi/virtio_scsi.c
include/linux/cpuhotplug.h