summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
authorJack Hammer <jack_hammer@adaptec.com>2005-08-29 10:44:34 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-31 18:17:16 -0800
commitee807c2d43b54183c16580857837dae8ccb2ed22 (patch)
tree8e99189a4dcb3dd76339051f5fa240ad9819e4c5 /drivers/scsi/sg.c
parenta3632fa3ecefe50d88fc70af90610f79b99e0715 (diff)
downloadop-kernel-dev-ee807c2d43b54183c16580857837dae8ccb2ed22.zip
op-kernel-dev-ee807c2d43b54183c16580857837dae8ccb2ed22.tar.gz
[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 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud