diff options
author | Jens Axboe <axboe@suse.de> | 2005-11-04 02:44:58 -0500 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2005-11-04 02:44:58 -0500 |
commit | c6ea2ba7b8acdb6c4a883b2d38607c8078dff4ee (patch) | |
tree | d175d3c28c0ff28cee62a4073c48f96b029cacab | |
parent | 3a65dfe8c088143c7155cfd36a72f4b0ad2fc4b2 (diff) |
[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: Jens Axboe <axboe@suse.de>
-rw-r--r-- | block/Kconfig.iosched | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index 5b90d2fa63b8..f3b7753aac99 100644 --- a/block/Kconfig.iosched +++ b/block/Kconfig.iosched | |||
@@ -46,13 +46,13 @@ choice | |||
46 | block devices. | 46 | block devices. |
47 | 47 | ||
48 | config DEFAULT_AS | 48 | config DEFAULT_AS |
49 | bool "Anticipatory" if IOSCHED_AS | 49 | bool "Anticipatory" if IOSCHED_AS=y |
50 | 50 | ||
51 | config DEFAULT_DEADLINE | 51 | config DEFAULT_DEADLINE |
52 | bool "Deadline" if IOSCHED_DEADLINE | 52 | bool "Deadline" if IOSCHED_DEADLINE=y |
53 | 53 | ||
54 | config DEFAULT_CFQ | 54 | config DEFAULT_CFQ |
55 | bool "CFQ" if IOSCHED_CFQ | 55 | bool "CFQ" if IOSCHED_CFQ=y |
56 | 56 | ||
57 | config DEFAULT_NOOP | 57 | config DEFAULT_NOOP |
58 | bool "No-op" | 58 | bool "No-op" |