virtio_scsi: support multi hw queue of blk-mq
authorMing Lei <ming.lei@canonical.com>
Sat, 15 Nov 2014 03:47:14 +0000 (11:47 +0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:28 +0000 (09:11 +0100)
commitccbedf117f015d4f415130069b47d63c359bc110
tree4280fcb1b70e7191305c7f8d18bfa774c90072c3
parent4c413128a6ff3af013bd1d82860a7ee60f93fb28
virtio_scsi: support multi hw queue of blk-mq

Since virtio_scsi has supported multi virtqueue already,
it is natural to map the virtque to hw-queue of blk-mq.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/virtio_scsi.c