]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit972ecf7df9b2c9f980761080a9636df2774f4879
tree832f5944f20379e33855cb55418b6407c81141a3
parent06b7cd197a30bd6621592fcc97d21416e81780b4
[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