diff options
| author | 2013-12-16 06:49:45 -0500 | |
|---|---|---|
| committer | 2014-03-15 10:19:14 -0700 | |
| commit | 4ebbb5cf640c5240cafde732c56fe24a5514bf8d (patch) | |
| tree | 9a588617ff7978c2ded8e777feb85c4cd6d473c5 /include | |
| parent | [SCSI] qla4xxx: Driver not able to collect minidump for ISP84xx (diff) | |
[SCSI] qla4xxx: Reduce rom-lock contention during reset recovery.
Issue:
Driver holds rom-lock for too long during reset recovery.
During adapter reset testing, it was found that the driver
holds the rom-lock for too long, because of which other
drivers fail to acquire the rom-lock, leading to reset
failures.
The primary cause is, in the bootstrap code, while
holding the rom-lock, the driver checks if the peg is
halted, causing a 2 second contention.
Fix:
When a reset recovery starts, the driver deduces the cause, and
sets appropriate flags in watchdog & recover_adapter routines.
This flag should be used to determine if bootstrap is invoked
from probe or reset context, reducing the rom-lock footprint of
the drivers.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
