diff options
author | Ursula Braun <braunu@de.ibm.com> | 2008-07-14 09:57:25 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:01:59 +0200 |
commit | bb0ca330a7e273cdecebae0283c9d267f60fe363 (patch) | |
tree | d5d1c3fb50c9ef53dedf5cafcd69b7b0214176be /init | |
parent | b1c02d9110e72ec510ec9b038f9564e3c0d87384 (diff) |
[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 'init')
0 files changed, 0 insertions, 0 deletions