Skip to content
Commit d1a987f3 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@fb.com>
parent c5c9b26e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment