Commit b32ecdb7 authored by Committed by Martin SchwidefskyBrowse files
[S390] qdio: fix qdio_activate timeout handling.
Current code in qdio_activate waits for at least 5 seconds until it returns. It may return earlier if an error occurs, but not if everything is ok. This large timeout value became visible with commit dfa77f61 "qdio: set QDIO_ACTIVATE_TIMEOUT to 5s", which intended to fix the timeout value which was zero. In turn setting an FCP adapter online took 5 seconds. In practice waiting for 5ms before continuing is sufficient as pointed out by Utz Bacher and Cornelia Huck. Cc: Utz Bacher <email@example.com> Cc: Jan Glauber <firstname.lastname@example.org> Cc: Ursula Braun <email@example.com> Cc: Martin Peschke <firstname.lastname@example.org> Acked-by: Cornelia Huck <email@example.com> Signed-off-by: Heiko Carstens <firstname.lastname@example.org> Signed-off-by: Martin Schwidefsky <email@example.com>