[S390] cio: prevent workqueue deadlock
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Thu, 26 Mar 2009 14:24:20 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:18 +0000 (15:24 +0100)
commit56e25e9777bf15365293e27a3256eb9214a11edf
tree832f5944f20379e33855cb55418b6407c81141a3
parent0cc110651bed4612074eeb445a23418a5ee34cd0
[S390] cio: prevent workqueue deadlock

Subchannel reprobing can block the kslowcrw workqueue indefinitely
while waiting for device recognition to finish which is also scheduled
to run on kslowcrw. Prevent this deadlock by moving the waiting
portion of subchannel reprobing to the cio workqueue.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c