提交 c6ea2ba7 编写于 作者: J Jens Axboe

[BLOCK] iosched: fix setting of default io scheduler

With the recent reorg of the io scheduler selection, it unfortunately
became possible to select an io scheduler to be the default even if it
wasn't builtin. Fix this by requiring the default scheduler to be
builtin.
Signed-off-by: NJens Axboe <axboe@suse.de>
上级 3a65dfe8
...@@ -46,13 +46,13 @@ choice ...@@ -46,13 +46,13 @@ choice
block devices. block devices.
config DEFAULT_AS config DEFAULT_AS
bool "Anticipatory" if IOSCHED_AS bool "Anticipatory" if IOSCHED_AS=y
config DEFAULT_DEADLINE config DEFAULT_DEADLINE
bool "Deadline" if IOSCHED_DEADLINE bool "Deadline" if IOSCHED_DEADLINE=y
config DEFAULT_CFQ config DEFAULT_CFQ
bool "CFQ" if IOSCHED_CFQ bool "CFQ" if IOSCHED_CFQ=y
config DEFAULT_NOOP config DEFAULT_NOOP
bool "No-op" bool "No-op"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册