aboutsummarylogtreecommitdiffstats
path: root/bfq-default.patch
blob: 65ff362d0c9271b5dae91fdea6cef3bec39391fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -222,14 +222,14 @@ int elevator_init(struct request_queue *
 
 	if (!e) {
 		/*
-		 * For blk-mq devices, we default to using mq-deadline,
+		 * For blk-mq devices, we default to using bfq,
 		 * if available, for single queue devices. If deadline
 		 * isn't available OR we have multiple queues, default
 		 * to "none".
 		 */
 		if (q->mq_ops) {
 			if (q->nr_hw_queues == 1)
-				e = elevator_get("mq-deadline", false);
+				e = elevator_get("bfq", false);
 			if (!e)
 				return 0;
 		} else