summaryrefslogtreecommitdiffstats
path: root/block/mq-deadline.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-10-25 12:33:42 -0600
committerJens Axboe <axboe@kernel.dk>2017-10-25 12:36:45 -0600
commit2527d99789e248576ac8081530cd4fd88730f8c7 (patch)
treeb3053bb28bcb630c818a7dbe154f2b220a16edd3 /block/mq-deadline.c
parentd5ce4c31d6df518dd8f63bbae20d7423c5018a6c (diff)
downloadlinux-0-day-2527d99789e248576ac8081530cd4fd88730f8c7.tar.gz
linux-0-day-2527d99789e248576ac8081530cd4fd88730f8c7.tar.xz
elevator: lookup mq vs non-mq elevators
If an IO scheduler is selected via elevator= and it doesn't match the driver in question wrt blk-mq support, then we fail to boot. The elevator= parameter is deprecated and only supported for non-mq devices. Augment the elevator lookup API so that we pass in if we're looking for an mq capable scheduler or not, so that we only ever return a valid type for the queue in question. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=196695 Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions