]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2fc: Handle ABTS timeout during ulp timeout
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 24 Oct 2011 06:23:56 +0000 (23:23 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 30 Oct 2011 09:28:55 +0000 (13:28 +0400)
commit94a9bd8227427582ac627be6ed96916427d5d630
treedec41281d61e685201b01da0e655f3833154a1a2
parentd502874f66781a1c48cd9fffad34e96065293dc3
[SCSI] bnx2fc: Handle ABTS timeout during ulp timeout

If the IO and the corresponding ABTS are not responded by a target, cleanup the
IO and issue explicit logout when ulp timer expires while waiting for ABTS to
complete. Wait for the session to be ready before returning to the SCSI layer.
If the session is not ready let the SCSI-ml escalate the error recovery.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc.h
drivers/scsi/bnx2fc/bnx2fc_io.c