commit | d1a987f35ebf859a771ac530e95a89933b6fcce8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Feb 14 08:16:41 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Feb 14 08:16:41 2017 -0700 |
tree | 15b2ba0c3125623a5b2ed4fb48a5090ca58a6a1b | |
parent | c5c9b26ee5f1295c77d8f2ff5f804ed6c0b07cc4 [diff] |
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>