]> 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)
commit078b555fbc731f8a38debbd0afddf637d082af86
tree1c48c6886d4e90d543fe738ba4c426531dcd637b
parent9ce80940351f77ca83d202c58084b9c2b660594e
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