qla2xxx: Do not reset adapter if SRB handle is in range.
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 4 Aug 2015 17:37:57 +0000 (13:37 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 00:45:27 +0000 (17:45 -0700)
commitc7bc4cae0d5c9703d8b15fcc0fd53b86b135bde8
tree748841de73f136316d51394dd7e4af927fe5fa22
parent8fbdac8c70d378016f568106f09fb3ff153a47c3
qla2xxx: Do not reset adapter if SRB handle is in range.

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>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_os.c