diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2012-06-19 19:30:12 +0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-07-16 12:52:50 +0400 |
commit | 4679e8933ae6b555e570a7e1b8963c7a0f59c6e5 (patch) | |
tree | 0e2d38a149bf438826961916585770c077f9228e /drivers/s390/block/dasd_int.h | |
parent | a7df7a9494ac8eb5fa4d902d3e90b083705dc80f (diff) | |
download | linux-4679e8933ae6b555e570a7e1b8963c7a0f59c6e5.tar.xz |
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_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index c05da00583f0..297ac3b8c8ec 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h @@ -686,6 +686,7 @@ int dasd_generic_set_offline (struct ccw_device *cdev); int dasd_generic_notify(struct ccw_device *, int); int dasd_generic_last_path_gone(struct dasd_device *); int dasd_generic_path_operational(struct dasd_device *); +void dasd_generic_shutdown(struct ccw_device *); void dasd_generic_handle_state_change(struct dasd_device *); int dasd_generic_pm_freeze(struct ccw_device *); |