s390/dasd: add shutdown action
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 19 Jun 2012 15:30:12 +0000 (17:30 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 16 Jul 2012 08:52:50 +0000 (10:52 +0200)
commit4679e8933ae6b555e570a7e1b8963c7a0f59c6e5
tree0e2d38a149bf438826961916585770c077f9228e
parenta7df7a9494ac8eb5fa4d902d3e90b083705dc80f
s390/dasd: add shutdown action

Add a mechanism to wait for outstanding IO during shutdown.
Schedule the block_bh and device_bh and wait until our request queues
are empty.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_int.h