lcs: Channel errors drive lcs_recovery which leads to kernel panic.
When the lcs irq routine detects channel failures it drives device recovery. After this event the device is no longer usable for shutdown requests, because the lcs_irq routine may get wrong channel status information. In such a case the lcs_irq routine marks the channel in 'error' state. The channel state comes back to 'running' after restarting the channels. Signed-off-by: Klaus D. Wacker <kdwacker@de.ibm.com> Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
committed by
David S. Miller
parent
d8fae9c2f2
commit
59579da329
@@ -138,6 +138,7 @@ enum lcs_channel_states {
|
||||
LCS_CH_STATE_RUNNING,
|
||||
LCS_CH_STATE_SUSPENDED,
|
||||
LCS_CH_STATE_CLEARED,
|
||||
LCS_CH_STATE_ERROR,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user