diff options
| author | Stefan Haberland <sth@linux.vnet.ibm.com> | 2016-08-08 14:08:17 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:57:53 +0200 |
| commit | 24b34171864466f74fcf2a27b27789cc4cd9223d (patch) | |
| tree | 47c179b5e683b6ff1ecd303f86165b6c20ec3173 /scripts/basic | |
| parent | 80e9f6cb57c43b2c935c522cc43417dffd66ab02 (diff) | |
s390/dasd: fix hanging device after clear subchannel
commit 9ba333dc55cbb9523553df973adb3024d223e905 upstream.
When a device is in a status where CIO has killed all I/O by itself the
interrupt for a clear request may not contain an irb to determine the
clear function. Instead it contains an error pointer -EIO.
This was ignored by the DASD int_handler leading to a hanging device
waiting for a clear interrupt.
Handle -EIO error pointer correctly for requests that are clear pending and
treat the clear as successful.
Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
