]> git.baikalelectronics.ru Git - kernel.git/commit
mq-deadline: add 'deadline' as a name alias
authorJens Axboe <axboe@kernel.dk>
Wed, 25 Oct 2017 15:47:20 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Oct 2017 18:36:55 +0000 (12:36 -0600)
commit4181477e496eaa39599fcd2d4f21e549d7ffaf27
tree8c3e10bf4bc781bd1fbecfc335411ca2775b4ceb
parentc20097aa99173c9a46e8dfe6f480f9b91060ccc9
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>
block/mq-deadline.c