]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Do not reset adapter if SRB handle is in range.
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 6 Oct 2015 09:06:34 +0000 (14:36 +0530)
committerDan Duval <dan.duval@oracle.com>
Thu, 15 Oct 2015 22:01:30 +0000 (18:01 -0400)
commit8780e027db3f7fe1e4a1885dd6a9412672cb133b
tree7d54e727166a5fce5d71942bd096fabf8fcca64e
parent0db99487de5e2e569671c08cd5fd2ca47fe1901e
qla2xxx: Do not reset adapter if SRB handle is in range.

Orabug: 21946579

If an SRB is NULL but the handle is in range just drop the
command instead of also resetting the adapter. If the handle
is in range then the command was valid at some point and may
have been aborted. Resetting the adapter can lead to extended
recovery times in this case.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_os.c