aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/block')
-rw-r--r--drivers/s390/block/Kconfig1
-rw-r--r--drivers/s390/block/dasd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/block/Kconfig b/drivers/s390/block/Kconfig
index e879b212cf43..07883197f474 100644
--- a/drivers/s390/block/Kconfig
+++ b/drivers/s390/block/Kconfig
@@ -20,6 +20,7 @@ config DCSSBLK
20config DASD 20config DASD
21 tristate "Support for DASD devices" 21 tristate "Support for DASD devices"
22 depends on CCW && BLOCK 22 depends on CCW && BLOCK
23 select IOSCHED_DEADLINE
23 help 24 help
24 Enable this option if you want to access DASDs directly utilizing 25 Enable this option if you want to access DASDs directly utilizing
25 S/390s channel subsystem commands. This is necessary for running 26 S/390s channel subsystem commands. This is necessary for running
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index ccf46c96adb4..54f686d2c694 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -1956,6 +1956,7 @@ static int dasd_alloc_queue(struct dasd_block *block)
1956 block->request_queue->queuedata = block; 1956 block->request_queue->queuedata = block;
1957 1957
1958 elevator_exit(block->request_queue->elevator); 1958 elevator_exit(block->request_queue->elevator);
1959 block->request_queue->elevator = NULL;
1959 rc = elevator_init(block->request_queue, "deadline"); 1960 rc = elevator_init(block->request_queue, "deadline");
1960 if (rc) { 1961 if (rc) {
1961 blk_cleanup_queue(block->request_queue); 1962 blk_cleanup_queue(block->request_queue);