diff options
author | Jens Axboe <axboe@fb.com> | 2017-02-14 08:16:41 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-14 08:16:41 -0700 |
commit | d1a987f35ebf859a771ac530e95a89933b6fcce8 (patch) | |
tree | 15b2ba0c3125623a5b2ed4fb48a5090ca58a6a1b /mm/mmu_context.c | |
parent | c5c9b26ee5f1295c77d8f2ff5f804ed6c0b07cc4 (diff) | |
download | op-kernel-dev-d1a987f35ebf859a771ac530e95a89933b6fcce8.zip op-kernel-dev-d1a987f35ebf859a771ac530e95a89933b6fcce8.tar.gz |
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>
Diffstat (limited to 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions