blk-mq-sched: refactor scheduler initialization
authorOmar Sandoval <osandov@fb.com>
Wed, 5 Apr 2017 19:01:30 +0000 (12:01 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 7 Apr 2017 14:56:44 +0000 (08:56 -0600)
commit6917ff0b5bd4139e08a3f3146529dcb3b95ba7a6
treec85db4362670bf263448883394bd43e9e89abede
parent81380ca10778b99dce98940cfc993214712df335
blk-mq-sched: refactor scheduler initialization

Preparation cleanup for the next couple of fixes, push
blk_mq_sched_setup() and e->ops.mq.init_sched() into a helper.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sched.c
block/blk-mq-sched.h
block/elevator.c