]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit944dc38d9a4d5d7b6fdbebce74630b4c7965ac7d
treebb1b92b08cc444d19fa7c0cd838f60ada626ae58
parent9297de09a32264e83b5681c60f6239bf8e60de05
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