From: Ursula Braun Date: Mon, 14 Jul 2008 07:57:25 +0000 (+0200) Subject: [S390] qdio: Repair timeout handling for qdio_shutdown X-Git-Tag: v2.6.27-rc1~1112^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0ca330a7e273cdecebae0283c9d267f60fe363;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens --- Reading git-diff-tree failed