diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2011-09-21 08:51:11 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-09-22 15:30:28 +0400 |
commit | 41e9a69641fb3fa86fa9277a179f3ad261d072f7 (patch) | |
tree | cceabbe07245bf46b87278586a273f35a62b17bf /drivers/scsi/libsas | |
parent | 5f7a643304553e87f531df95de0ed0d60c002627 (diff) | |
download | kernel_goldelico_gta04-41e9a69641fb3fa86fa9277a179f3ad261d072f7.zip kernel_goldelico_gta04-41e9a69641fb3fa86fa9277a179f3ad261d072f7.tar.gz kernel_goldelico_gta04-41e9a69641fb3fa86fa9277a179f3ad261d072f7.tar.bz2 |
[SCSI] ipr: Stop reading adapter dump prematurely
When the ipr driver decides to dump the adapter, it changes the
sdt_state to GET_DUMP, then prepares the adapter so that the dump
can be read. However, if the ipr worker thread wakes up for some
reason before the driver has put the adapter in a state where it
can succesfully dump the adapter, the driver will start dumping
the adapter too early, which can potentially trigger a BUG check
in the pci config blocking API. Fix this by adding a new
sdt_state to differentiate between the ipr driver wanting to dump
the adapter in the near future and wanting to dump the adapter now.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions