]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
scsi: storvsc: Enable multi-queue support
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 15 Dec 2016 02:46:00 +0000 (18:46 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
commite8e0332efc2938a4ec6506f3c7a1979804483131
treef8f9d2dd8e48381d9153e48e8b5fb7ce02395f61
parentaeb47f9f87fc49cd6b7ff5d658b6ca27b7161628
scsi: storvsc: Enable multi-queue support

BugLink: http://bugs.launchpad.net/bugs/1663687
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>
(back ported from linux-next commit d86adf482b843b3a58a9ec3b7c1ccdbf7c705db1)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Conflicts:
drivers/scsi/storvsc_drv.c
drivers/scsi/storvsc_drv.c