summaryrefslogtreecommitdiff
path: root/lib/decompress.c
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2013-12-16 11:49:45 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 17:19:14 (GMT)
commit4ebbb5cf640c5240cafde732c56fe24a5514bf8d (patch)
tree9a588617ff7978c2ded8e777feb85c4cd6d473c5 /lib/decompress.c
parent58e2bbe9851668a031afc678433040f6eaea4cb3 (diff)
downloadlinux-4ebbb5cf640c5240cafde732c56fe24a5514bf8d.tar.xz
[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 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions