linux/drivers/s390/cio
Sebastian Ott 43d0be75af s390/cio: fix IO subchannel event race
If the subchannel event function is called from IRQ context and we
observe that the subchannel in question is gone we flag the attached
device as not operational and schedule the event function to be called
again from process context where the subchannel gets deregistered.
However if the subchannel reappeared at the time the event function
gets called from process context we would do nothing and leave the
device in not operational state. Recognize this case in sch_get_action
and trigger reexamination of the subchannel/device.

Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-09-06 10:40:39 +02:00
..
airq.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
blacklist.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
blacklist.h
ccwgroup.c s390/ccwgroup: remove ccwgroup_create_from_string 2012-05-16 14:42:49 +02:00
ccwreq.c [S390] cio: add message for timeouts on internal I/O 2011-10-30 15:16:41 +01:00
chp.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
chp.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
chsc_sch.c compat: fix compile breakage on s390 2012-02-27 07:54:27 -08:00
chsc_sch.h [S390] cio: Add chsc subchannel driver. 2008-07-14 10:02:12 +02:00
chsc.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
chsc.h [S390] cio: obtain mdc value per channel path 2011-01-05 12:47:28 +01:00
cio_debug.h [S390] cio: Remove cio_msg kernel parameter. 2008-05-07 09:23:01 +02:00
cio.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cio.h [S390] hibernate: directly trigger subchannel evaluation 2011-12-01 13:32:17 +01:00
cmf.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
crw.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
css.c [S390] hibernate: directly trigger subchannel evaluation 2011-12-01 13:32:17 +01:00
css.h [S390] sparse: fix sparse warnings about missing prototypes 2011-10-30 15:16:46 +01:00
device_fsm.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
device_id.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
device_ops.c [S390] cio: provide fake irb for transport mode IO 2011-12-01 13:32:18 +01:00
device_pgid.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
device_status.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
device.c s390/cio: fix IO subchannel event race 2012-09-06 10:40:39 +02:00
device.h s390/ccwgroup: exploit ccwdev_by_dev_id 2012-05-16 14:42:46 +02:00
fcx.c [S390] drivers: Correct size given to memset 2009-12-18 17:43:32 +01:00
idset.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
idset.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
io_sch.h [S390] cio: provide fake irb for transport mode IO 2011-12-01 13:32:18 +01:00
ioasm.h [S390] cio: move asms to generic header 2011-03-15 17:08:23 +01:00
isc.c [S390] cio: introduce isc_(un)register functions. 2008-07-14 10:02:11 +02:00
itcw.c [S390] cio: reduce memory consumption of itcw structures 2011-01-05 12:47:29 +01:00
Makefile [S390] qdio: convert global statistics to per-device stats 2010-01-04 09:05:58 +01:00
orb.h [S390] cio: move orb definitions to separate header 2011-03-15 17:08:23 +01:00
qdio_debug.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qdio_debug.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qdio_main.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qdio_setup.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qdio_thinint.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qdio.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00