Jens Axboe d1a987f35e elevator: fix loading wrong elevator type for blk-mq devices
The old elevator= boot parameter blindly attempts to load the
same scheduler for mq and !mq devices, leading to a crash if
we specify the wrong one.

Ensure that we only apply this boot parameter to old !mq devices.

Signed-off-by: Jens Axboe <axboe@fb.com>
2017-02-14 08:16:41 -07:00
..
2016-10-28 08:45:17 -06:00
2017-01-17 10:03:42 -07:00
2016-12-14 10:49:33 -08:00
2017-02-06 09:44:19 -07:00
2017-02-06 09:44:19 -07:00
2017-02-06 09:44:19 -07:00
2017-02-06 09:44:19 -07:00