summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp.c
diff options
context:
space:
mode:
authorUrsula Braun <braunu@de.ibm.com>2008-07-14 09:57:25 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 10:01:59 +0200
commitbb0ca330a7e273cdecebae0283c9d267f60fe363 (patch)
treed5d1c3fb50c9ef53dedf5cafcd69b7b0214176be /drivers/s390/char/sclp.c
parentb1c02d9110e72ec510ec9b038f9564e3c0d87384 (diff)
downloadop-kernel-dev-bb0ca330a7e273cdecebae0283c9d267f60fe363.zip
op-kernel-dev-bb0ca330a7e273cdecebae0283c9d267f60fe363.tar.gz
[S390] qdio: Repair timeout handling for qdio_shutdown
If qdio shutdown runs in parallel with a channel error, the qdio_timeout_handler might not be triggered. In this case neither state INACTIVE nor state ERR is reached and the following wait_event hangs forever. Solution: do not make use of ccw_device_set_timeout(), but add a timeout to the following wait_event. And make sure, wake_up is called in case of an i/o error on the qdio-device. Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud