File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -628,10 +628,14 @@ static inline bool elv_support_iosched(struct request_queue *q)
628
628
*/
629
629
static struct elevator_type * elevator_get_default (struct request_queue * q )
630
630
{
631
+ #ifndef CONFIG_ZEN_INTERACTIVE
631
632
if (q -> nr_hw_queues != 1 )
632
633
return NULL ;
634
+ #endif
633
635
634
- #if defined(CONFIG_MQ_IOSCHED_DEADLINE_NODEFAULT )
636
+ #if defined(CONFIG_ZEN_INTERACTIVE ) && defined(CONFIG_IOSCHED_BFQ )
637
+ return elevator_get (q , "bfq" , false);
638
+ #elif defined(CONFIG_MQ_IOSCHED_DEADLINE_NODEFAULT )
635
639
return elevator_get (q , "mq-deadline-nodefault" , false);
636
640
#else
637
641
return elevator_get (q , "mq-deadline" , false);
Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ config ZEN_INTERACTIVE
79
79
help
80
80
Tunes the kernel for responsiveness at the cost of throughput and power usage.
81
81
82
+ --- Block Layer ----------------------------------------
83
+
84
+ Default scheduler.........: mq-deadline -> bfq
85
+
82
86
config BROKEN
83
87
bool
84
88
You can’t perform that action at this time.
0 commit comments