scsi: storvsc: Enable multi-queue support
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 15 Dec 2016 02:46:00 +0000 (18:46 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 5 Jan 2017 05:21:11 +0000 (00:21 -0500)
commitd86adf482b843b3a58a9ec3b7c1ccdbf7c705db1
tree43e0669a308f9cb71d94a72b7505150e9aaed0f3
parent977965283526dd2e887331365da19b05c909a966
scsi: storvsc: Enable multi-queue support

Enable multi-q support. We will allocate the outgoing channel using
the following policy:

        1. We will make every effort to pick a channel that is in the
           same NUMA node that is initiating the I/O
        2. The mapping between the guest CPU and the outgoing channel
           is persistent.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c