OSDN Git Service

[SCSI] bnx2fc: No abort issued for REC when it times out
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 30 Aug 2011 22:54:49 +0000 (15:54 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 17 Sep 2011 14:02:27 +0000 (18:02 +0400)
commitc1c16bd51a29eea8843f20161ddd32cddc524142
tree9e92792aa4b93bb2f7ab4ac1b30ec6403d6f6014
parent8a5badf1ea10c726b9cc04e52f91395b1248e034
[SCSI] bnx2fc: No abort issued for REC when it times out

ABTS was not issued for timed out REC, as REC completion handler exits out if
the IO completed. Check for timed out REC and issue ABTS before proceeding with
further processing in REC completion handler. Also, initialize rec_retry and
srr_retry before starting the IO.

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