Skip to content

Commit

Permalink
[BLOCK] iosched: fix setting of default io scheduler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jens Axboe committed Nov 4, 2005
1 parent 3a65dfe commit c6ea2ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions block/Kconfig.iosched
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ choice
block devices.

config DEFAULT_AS
bool "Anticipatory" if IOSCHED_AS
bool "Anticipatory" if IOSCHED_AS=y

config DEFAULT_DEADLINE
bool "Deadline" if IOSCHED_DEADLINE
bool "Deadline" if IOSCHED_DEADLINE=y

config DEFAULT_CFQ
bool "CFQ" if IOSCHED_CFQ
bool "CFQ" if IOSCHED_CFQ=y

config DEFAULT_NOOP
bool "No-op"
Expand Down

0 comments on commit c6ea2ba

Please sign in to comment.