summaryrefslogtreecommitdiff
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorStefan Haberland <sth@linux.vnet.ibm.com>2016-08-08 12:08:17 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-08-10 08:12:16 (GMT)
commit9ba333dc55cbb9523553df973adb3024d223e905 (patch)
treead18cc8f559abe33f5a44053080a4b206207dd03 /crypto/lrw.c
parent9bce8b2cbebf9f11b41021ccb98c6b18d1796edd (diff)
downloadlinux-9ba333dc55cbb9523553df973adb3024d223e905.tar.xz
s390/dasd: fix hanging device after clear subchannel
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> Cc: stable@vger.kernel.org Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions