summaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd_eckd.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2012-06-19 17:30:12 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2012-07-16 10:52:50 +0200
commit4679e8933ae6b555e570a7e1b8963c7a0f59c6e5 (patch)
tree0e2d38a149bf438826961916585770c077f9228e /drivers/s390/block/dasd_eckd.c
parenta7df7a9494ac8eb5fa4d902d3e90b083705dc80f (diff)
downloadop-kernel-dev-4679e8933ae6b555e570a7e1b8963c7a0f59c6e5.zip
op-kernel-dev-4679e8933ae6b555e570a7e1b8963c7a0f59c6e5.tar.gz
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>
Diffstat (limited to 'drivers/s390/block/dasd_eckd.c')
-rw-r--r--drivers/s390/block/dasd_eckd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index bc2e8a7..fc0fe30 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -4247,6 +4247,7 @@ static struct ccw_driver dasd_eckd_driver = {
.set_online = dasd_eckd_set_online,
.notify = dasd_generic_notify,
.path_event = dasd_generic_path_event,
+ .shutdown = dasd_generic_shutdown,
.freeze = dasd_generic_pm_freeze,
.thaw = dasd_generic_restore_device,
.restore = dasd_generic_restore_device,
OpenPOWER on IntegriCloud