commit | 3a5088c8c11ac9d56f7e90acaaae9e0e98c1ff94 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Sat Apr 15 20:38:22 2017 +0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 19 14:15:43 2017 -0600 |
tree | ea83e5447676e30b767103c665668932656c239b | |
parent | 005882e53d62f25dae10351a8d3f13326051e8f5 [diff] |
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>