Skip to content

Commit

Permalink
ZEN: INTERACTIVE: Use Kyber as the elevator for MQ devices
Browse files Browse the repository at this point in the history
  • Loading branch information
heftig committed Sep 15, 2024
1 parent c614dbb commit b872819
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,13 @@ static struct elevator_type *elevator_get_default(struct request_queue *q)

if (q->nr_hw_queues != 1 &&
!blk_mq_is_shared_tags(q->tag_set->flags))
#if defined(CONFIG_ZEN_INTERACTIVE) && defined(CONFIG_MQ_IOSCHED_KYBER)
return elevator_find_get(q, "kyber");
#elif defined(CONFIG_ZEN_INTERACTIVE)
return elevator_find_get(q, "mq-deadline");
#else
return NULL;
#endif

#if defined(CONFIG_ZEN_INTERACTIVE) && defined(CONFIG_IOSCHED_BFQ)
return elevator_find_get(q, "bfq");
Expand Down
1 change: 1 addition & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ config ZEN_INTERACTIVE
--- Block Layer ----------------------------------------

Default scheduler for SQ..: mq-deadline -> bfq
Default scheduler for MQ..: none -> kyber

config BROKEN
bool
Expand Down

0 comments on commit b872819

Please sign in to comment.