diff options
author | Jack Hammer <jack_hammer@adaptec.com> | 2005-08-29 16:44:34 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-01 03:17:16 +0100 |
commit | ee807c2d43b54183c16580857837dae8ccb2ed22 (patch) | |
tree | 8e99189a4dcb3dd76339051f5fa240ad9819e4c5 /include | |
parent | [SCSI] ips: Fix up for correct scatter/gather processing (diff) | |
download | linux-ee807c2d43b54183c16580857837dae8ccb2ed22.tar.xz linux-ee807c2d43b54183c16580857837dae8ccb2ed22.zip |
[SCSI] ips: Fix initialization bug with kdump
If I/O is active on the adapter, and an unexpected interrupt is pending
during initialization, the driver blows it's brains out. Since the driver
didn't initiate the I/O, the data in it's internal tables will contain NULL
pointers.
When this condition is detected, a "flush cache and reset" is performed.
The flush cache allows any pending "lazy writes" that the adapter is
processing to complete ( a "must have" for a RAID adapter ) and the reset
puts the adapter back into a known, good state.
Signed-off-by: Jack Hammer <jack_hammer@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions