]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2fc: Handle SRR LS_ACC drop scenario
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 24 Oct 2011 06:23:57 +0000 (23:23 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 30 Oct 2011 10:04:01 +0000 (14:04 +0400)
commitd690899ffb9dddb30cdce6a5f2480fd0368b4113
tree1cbe2ab0a1f5b630686bd5d6bf37d0a9bab3cb9b
parent94a9bd8227427582ac627be6ed96916427d5d630
[SCSI] bnx2fc: Handle SRR LS_ACC drop scenario

When SRR LS_ACC is dropped, the driver was not issuing ABTS for SRR when it
times out. Since the target received SRR, it was able to send the XFER_RDY and
the the original IO request completed successfully. In this condition ABTS was
not sent during bnx2fc_srr_compl(). Fix this by first checking for ELS timeout
and issue ABTS before checking if original IO request is complete.

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