[PATCH 7/7] blk-mq-sched: allow setting of default IO scheduler

2016-12-14 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/Kconfig.iosched | 43 +-- block/blk-mq-sched.c| 19 +++ block/blk-mq-sched.h| 2 ++ block/blk-mq.c | 3 +++ block/elevator.c| 5 - drivers/nvme/host/pci.c | 1 + include/

Re: [PATCH 7/7] blk-mq-sched: allow setting of default IO scheduler

2016-12-13 Thread Jens Axboe
On 12/13/2016 03:13 AM, Bart Van Assche wrote: > On 12/08/2016 09:13 PM, Jens Axboe wrote: >> +config DEFAULT_MQ_IOSCHED >> +string >> +default "mq-deadline" if DEFAULT_MQ_DEADLINE >> +default "none" if DEFAULT_MQ_NONE >> + >> endmenu >> >> +config MQ_IOSCHED_ONLY_SQ >> +bool "Enab

Re: [PATCH 7/7] blk-mq-sched: allow setting of default IO scheduler

2016-12-13 Thread Bart Van Assche
On 12/08/2016 09:13 PM, Jens Axboe wrote: +config DEFAULT_MQ_IOSCHED + string + default "mq-deadline" if DEFAULT_MQ_DEADLINE + default "none" if DEFAULT_MQ_NONE + endmenu +config MQ_IOSCHED_ONLY_SQ + bool "Enable blk-mq IO scheduler only for single queue devices" +

[PATCH 7/7] blk-mq-sched: allow setting of default IO scheduler

2016-12-08 Thread Jens Axboe
Signed-off-by: Jens Axboe --- block/Kconfig.iosched | 43 +-- block/blk-mq-sched.c| 19 +++ block/blk-mq-sched.h| 1 + block/blk-mq.c | 3 +++ block/elevator.c| 5 - drivers/nvme/host/pci.c | 1 + include/l