summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-04-15 20:38:22 +0800
committerJens Axboe <axboe@fb.com>2017-04-19 14:15:43 -0600
commit3a5088c8c11ac9d56f7e90acaaae9e0e98c1ff94 (patch)
treeea83e5447676e30b767103c665668932656c239b /block/blk-mq-sched.c
parent005882e53d62f25dae10351a8d3f13326051e8f5 (diff)
downloadlinux-0-day-3a5088c8c11ac9d56f7e90acaaae9e0e98c1ff94.tar.gz
linux-0-day-3a5088c8c11ac9d56f7e90acaaae9e0e98c1ff94.tar.xz
block: respect BLK_MQ_F_NO_SCHED
If one driver claims that it doesn't support io scheduler via BLK_MQ_F_NO_SCHED, we should not allow to change and show the availabe io schedulers. This patch adds check to enhance this behaviour. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions