OSDN Git Service

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:37:26 +0000 (06:37 +0100)
commit5cdc8193ac38cc5094918cd0095bf76cb1c4181a
tree8ae014c7f0eba3854ebe01a0dcea8e2c9ce760ec
parent6a284310d5dd7faa9c185863583f55ab1b6679ce
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