linux/drivers/s390
Stefan Haberland d2a6f15625 s390/dasd: fix hanging device after clear subchannel
commit 9ba333dc55 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: Ben Hutchings <ben@decadent.org.uk>
History 2016-11-20 01:17:08 +00:00
..
block s390/dasd: fix hanging device after clear subchannel 2016-11-20 01:17:08 +00:00
char s390/sclp_ctl: fix potential information leak with /dev/sclp 2016-08-22 22:38:28 +01:00
cio s390/ccwgroup: use ccwgroup_ungroup wrapper 2014-06-16 10:32:52 +02:00
crypto crypto: prefix module autoloading with "crypto-" 2015-02-04 10:57:48 +00:00
kvm KVM: s390: virtio-ccw: don't overwrite config space values 2015-07-15 10:01:12 +01:00
net qeth: delete napi struct when removing a qeth device 2016-08-22 22:38:26 +01:00
scsi Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00