scsi: storvsc: use tagged SRB requests if supported by the device
authorLong Li <longli@microsoft.com>
Thu, 15 Dec 2016 02:46:01 +0000 (18:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 05:44:11 +0000 (06:44 +0100)
commit99b3ba253c8b7bf8635fc68b5371a8225371f47c
tree5a85ed4f8b8f6d080dfca6e8ccfbd3b4b672016c
parent4517ad77e7e6bb08b8ebb0487ef508b127b0c8f2
scsi: storvsc: use tagged SRB requests if supported by the device

commit 3cd6d3d9b1abab8dcdf0800224ce26daac24eea2 upstream.

Properly set SRB flags when hosting device supports tagged queuing.
This patch improves the performance on Fiber Channel disks.

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