elevator: allow name aliases
authorJens Axboe <axboe@kernel.dk>
Wed, 25 Oct 2017 18:35:02 +0000 (12:35 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Oct 2017 18:36:50 +0000 (12:36 -0600)
commit8ac0d9a81edf2ef4a2268b65b802a6b856dc77e6
tree569a5e450d44b3f9eea6a5b0f6a65c1d28837ddd
parent2527d99789e248576ac8081530cd4fd88730f8c7
elevator: allow name aliases

Since we now lookup elevator types with the appropriate multiqueue
capability, allow schedulers to register with an alias alongside
the real name. This is in preparation for allowing 'mq-deadline'
to register an alias of 'deadline' as well.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c
include/linux/elevator.h