virtio_blk: use virtio IRQ affinity
authorChristoph Hellwig <hch@lst.de>
Sun, 5 Feb 2017 17:15:25 +0000 (18:15 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Feb 2017 18:54:05 +0000 (20:54 +0200)
commitad71473d9c43725c917fc5a86d54ceb7001ee28c
treefc5a06fd06bf7659fb70f2e2afd77f29c78fbde1
parent73473427bb551686e4b68ecd99bfd27e6635286a
virtio_blk: 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/block/virtio_blk.c