[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)
commit0c2bd9b24e73287aa4ee87844c847205e0da8a9b
tree4e56fae8cb7f8dcbc022771436e573c5c12b94fb
parentb652277b09d3d030cb074cc6a98ba80b34244c03
[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