Commit 26b4cf24 authored by Ben Hutchings's avatar Ben Hutchings Committed by Jens Axboe

bfq: Re-enable auto-loading when built as a module

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

Fixes: ea25da48 ("block, bfq: split bfq-iosched.c into multiple ...")
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5034435c
...@@ -5013,6 +5013,7 @@ static struct elevator_type iosched_bfq_mq = { ...@@ -5013,6 +5013,7 @@ static struct elevator_type iosched_bfq_mq = {
.elevator_name = "bfq", .elevator_name = "bfq",
.elevator_owner = THIS_MODULE, .elevator_owner = THIS_MODULE,
}; };
MODULE_ALIAS("bfq-iosched");
static int __init bfq_init(void) static int __init bfq_init(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment