mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
block: Enable BFQ io scheduler as default
Enable BFQ IO-Scheduler as a default scheduler for systems adapting to block multiqueue design. Change-Id: I12ff8c0495a53f1fc1f1a95c39ed03d927c1821b Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
This commit is contained in:
parent
ee8d6eaeda
commit
71edb4e799
1 changed files with 4 additions and 1 deletions
|
|
@ -630,7 +630,10 @@ static struct elevator_type *elevator_get_default(struct request_queue *q)
|
|||
{
|
||||
if (q->nr_hw_queues != 1)
|
||||
return NULL;
|
||||
|
||||
#if defined(CONFIG_SDC_QTI) || defined(CONFIG_SCSI_UFSHCD_QTI)
|
||||
if (IS_ENABLED(CONFIG_IOSCHED_BFQ))
|
||||
return elevator_get(q, "bfq", false);
|
||||
#endif
|
||||
return elevator_get(q, "mq-deadline", false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue