]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:48 +0000 (09:36 +0800)
commitbd5ea07e6fa81f235a6b18da80f3d0ca5c5d39fa
tree6372d126695465c93b06d47f899f1e6f8b87b927
parentf057a8fbe062260d2c8c28b0e82e22e3f6b320cd
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>
(cherry picked from commit c1c16bd51a29eea8843f20161ddd32cddc524142)

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