]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36405b696f29c0c833b3a3ea564a5568c542696e
tree569a5e450d44b3f9eea6a5b0f6a65c1d28837ddd
parentdae6bf8cc497586e824ade179a4976184f1d4f57
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