Skip to content

Commit

Permalink
mq-deadline: Enable auto-loading when built as module
Browse files Browse the repository at this point in the history
The block core requests modules with the "-iosched" name suffix, but
mq-deadline does not have that suffix.  Add an alias.

Fixes: 945ffb6 ("mq-deadline: add blk-mq adaptation of the deadline ...")
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
bwhacks authored and axboe committed Aug 29, 2017
1 parent 26b4cf2 commit 7de967e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/mq-deadline.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ static struct elevator_type mq_deadline = {
.elevator_name = "mq-deadline",
.elevator_owner = THIS_MODULE,
};
MODULE_ALIAS("mq-deadline-iosched");

static int __init deadline_init(void)
{
Expand Down

0 comments on commit 7de967e

Please sign in to comment.