Skip to content

Commit

Permalink
Revert "XANMOD: elevator: set default scheduler to bfq for blk-mq"
Browse files Browse the repository at this point in the history
This reverts commit af2a862.
  • Loading branch information
xanmod committed Jan 5, 2022
1 parent a9a2179 commit 7bb1eac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions block/elevator.c
Expand Up @@ -628,8 +628,8 @@ static inline bool elv_support_iosched(struct request_queue *q)
}

/*
* For single queue devices, default to using bfq. If we have multiple
* queues or bfq is not available, default to "none".
* For single queue devices, default to using mq-deadline. If we have multiple
* queues or mq-deadline is not available, default to "none".
*/
static struct elevator_type *elevator_get_default(struct request_queue *q)
{
Expand All @@ -640,7 +640,7 @@ static struct elevator_type *elevator_get_default(struct request_queue *q)
!blk_mq_is_sbitmap_shared(q->tag_set->flags))
return NULL;

return elevator_get(q, "bfq", false);
return elevator_get(q, "mq-deadline", false);
}

/*
Expand Down

0 comments on commit 7bb1eac

Please sign in to comment.