]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcfd57bbaf34610d1a95a8ad1845d3c634114b897
tree9e92792aa4b93bb2f7ab4ac1b30ec6403d6f6014
parentba71bc192ab42c709e733ff45b040dd804c83ec3
[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