From: Ursula Braun Date: Sat, 9 Feb 2008 17:24:32 +0000 (+0100) Subject: [S390] qdio: avoid hang when establishing qdio queues X-Git-Tag: v2.6.25-rc1~16^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3f837804997e5f5d9888051e9e5356961af0f2;p=pandora-kernel.git [S390] qdio: avoid hang when establishing qdio queues If qdio establish runs in parallel with a channel error, ccw_device_start_timeout may not trigger the qdio_timeout_handler. In this case neither QDIO_IRQ_STATE_ESTABLISHED nor QDIO_IRQ_STATE_ERR is reached and the following wait_event hangs forever. Solution: do not make use of the timeout option with ccw_device_start, but add a timeout to the following wait_event. Signed-off-by: Ursula Braun Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed