]> git.baikalelectronics.ru Git - kernel.git/commit
block: split the blk-mq case from elevator_init
authorChristoph Hellwig <hch@lst.de>
Thu, 31 May 2018 17:11:40 +0000 (19:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:38:21 +0000 (07:38 -0600)
commit2555479de4420531ce9cfb295066e27e4081bc02
tree1c48c6886d4e90d543fe738ba4c426531dcd637b
parent3e89efaa1298ca9d1025668644b72716a2c8efd9
block: split the blk-mq case from elevator_init

There is almost no shared logic, which leads to a very confusing code
flow.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk.h
block/elevator.c