snic: LUN goes offline due to scsi cmd timeouts
authorNarsimhulu Musini <nmusini@cisco.com>
Thu, 17 Mar 2016 07:51:11 +0000 (00:51 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
commitf352a0d5bafa62d1f0b044613ea42483a529f9df
treebb1b92b08cc444d19fa7c0cd838f60ada626ae58
parent3f5c11a463fd87b912f16976ff0ee3d6bbd1825e
snic: LUN goes offline due to scsi cmd timeouts

- LUN goes offline if there are at least two scsi command timeouts
  Completing the IO with scsi_done() fixes the issue.

Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_scsi.c