]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3319fba3955cca2044c0d8ec9182ca5f480b12bc
treec85db4362670bf263448883394bd43e9e89abede
parent01be49f99944f753635c88474855263e8a4b372f
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