]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
scsi: storvsc: properly handle SRB_ERROR when sense message is present
authorLong Li <longli@microsoft.com>
Mon, 13 Feb 2017 13:05:19 +0000 (06:05 -0700)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 8 Mar 2017 13:35:49 +0000 (10:35 -0300)
commitb4e22b8a3d9d5746380e8d400cd9134567ffe675
tree6bbe2f6d4d047a38a62cf2c56f722e395c198283
parent1fccfaa1678f706d8d57da05feea7abf49b81385
scsi: storvsc: properly handle SRB_ERROR when sense message is present

BugLink: http://bugs.launchpad.net/bugs/1663687
When sense message is present on error, we should pass along to the upper
layer to decide how to deal with the error.
This patch fixes connectivity issues with Fiber Channel devices.

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from linux-next commit bba5dc332ec2d3a685cb4dae668c793f6a3713a3)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/scsi/storvsc_drv.c