blk-mq-sched: allow setting of default IO scheduler
authorJens Axboe <axboe@fb.com>
Fri, 13 Jan 2017 21:43:58 +0000 (14:43 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 17 Jan 2017 17:04:31 +0000 (10:04 -0700)
commitd34849913819a5e0cbfbe724dbe79df89278c524
tree71b427fa3b22b30dc2038448ec06936018adaee4
parent945ffb60c11dfb228130f3f2bdde961cecb76671
blk-mq-sched: allow setting of default IO scheduler

Add Kconfig entries to manage what devices get assigned an MQ
scheduler, and add a blk-mq flag for drivers to opt out of scheduling.
The latter is useful for admin type queues that still allocate a blk-mq
queue and tag set, but aren't use for normal IO.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/Kconfig.iosched
block/blk-mq-sched.c
block/blk-mq-sched.h
block/blk-mq.c
block/elevator.c
drivers/nvme/host/pci.c
include/linux/blk-mq.h