]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2fc: Handle ABTS timeout during ulp timeout
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 24 Oct 2011 06:23:56 +0000 (23:23 -0700)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:52 +0000 (09:36 +0800)
commit39e78b5499f26e95515fa41933231e346f6e73ef
tree3586b910a384b97f5940b9b6d95d28a75f4e1741
parent10d61a46a26123646b4680572994c0ba630a9a71
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>
(cherry picked from commit 99cc600cdd6f938633394523447378f7a43f4340)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc.h
drivers/scsi/bnx2fc/bnx2fc_io.c