]> git.baikalelectronics.ru Git - kernel.git/commit
cxlflash: Fix to escalate to LINK_RESET on login timeout
authorManoj Kumar <manoj@linux.vnet.ibm.com>
Wed, 21 Oct 2015 20:16:07 +0000 (15:16 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 30 Oct 2015 08:23:12 +0000 (17:23 +0900)
commit392fc920c5caf759f28a2039efd4dfab02f43d79
treefec75ddcb20d73ff99b09cfa6683b6cc5874e037
parent91d4d81f014538a31fa8847dd14c0af218cecf48
cxlflash: Fix to escalate to LINK_RESET on login timeout

A 'login timed out' asynchronous error interrupt is generated if no
response is seen to a FLOGI within 2 seconds.  If the time out error
is not escalated to a LINK_RESET the port will not be available for
use. This fix provides the required escalation.

Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/cxlflash/main.c