]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 12 Jul 2014 16:48:32 +0000 (09:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:17:03 +0000 (17:17 -0400)
commit3533f8603d28b77c62d75ec899449a99bc6b77a1
treee69e5ac2372eb84d739323eb7b1a8e4be31ccdbf
parentf885fb73f64154690c2158e813de56363389ffec
drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

On some Windows hosts on FC SANs, TEST_UNIT_READY can return SRB_STATUS_ERROR.
Correctly handle this. Note that there is sufficient sense information to
support scsi error handling even in this case.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/storvsc_drv.c