]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] tape: deadlock on system work queue
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 3 Mar 2011 16:56:07 +0000 (17:56 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 3 Mar 2011 16:56:14 +0000 (17:56 +0100)
commitfa3981bad30f3d25a955b8cc16e19fa20f546517
tree4e56fae8cb7f8dcbc022771436e573c5c12b94fb
parentfccdf1ac9290d627f802dd4c4aacee462418ceb8
[S390] tape: deadlock on system work queue

The 34xx and 3590 tape driver uses the system work queue to defer work
from the interrupt function to process context, e.g. a medium sense
after an unsolicited interrupt. The tape commands started by the work
handler need to be asynchronous, otherwise a deadlock on the system
work queue can occur.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tape.h
drivers/s390/char/tape_34xx.c
drivers/s390/char/tape_3590.c