mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
mq-deadline: add 'deadline' as a name alias
The scheduler framework now supports looking up the appropriate scheduler with the {name,mq} tupple. We can register mq-deadline with the alias of 'deadline', so that switching to 'deadline' will do the right thing based on the type of driver attached to it. Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
8ac0d9a81e
commit
4d740bc9f0
@ -657,6 +657,7 @@ static struct elevator_type mq_deadline = {
|
||||
#endif
|
||||
.elevator_attrs = deadline_attrs,
|
||||
.elevator_name = "mq-deadline",
|
||||
.elevator_alias = "deadline",
|
||||
.elevator_owner = THIS_MODULE,
|
||||
};
|
||||
MODULE_ALIAS("mq-deadline-iosched");
|
||||
|
Loading…
Reference in New Issue
Block a user