Bias the location of pages freed for min_free_kbytes in the same MAX_ORDER_NR_PAGES...
[sfrench/cifs-2.6.git] / block / Kconfig.iosched
index 5b90d2fa63b8382d80de600d0410e4a1cf0518e2..7e803fc887700604b47401b7d82512c48e95e6e1 100644 (file)
@@ -1,3 +1,4 @@
+if BLOCK
 
 menu "IO Schedulers"
 
@@ -15,10 +16,10 @@ config IOSCHED_AS
        tristate "Anticipatory I/O scheduler"
        default y
        ---help---
-         The anticipatory I/O scheduler is the default disk scheduler. It is
-         generally a good choice for most environments, but is quite large and
-         complex when compared to the deadline I/O scheduler, it can also be
-         slower in some cases especially some database loads.
+         The anticipatory I/O scheduler is generally a good choice for most
+         environments, but is quite large and complex when compared to the
+         deadline I/O scheduler, it can also be slower in some cases
+         especially some database loads.
 
 config IOSCHED_DEADLINE
        tristate "Deadline I/O scheduler"
@@ -37,22 +38,23 @@ config IOSCHED_CFQ
          The CFQ I/O scheduler tries to distribute bandwidth equally
          among all processes in the system. It should provide a fair
          working environment, suitable for desktop systems.
+         This is the default I/O scheduler.
 
 choice
        prompt "Default I/O scheduler"
-       default DEFAULT_AS
+       default DEFAULT_CFQ
        help
          Select the I/O scheduler which will be used by default for all
          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"
@@ -67,3 +69,5 @@ config DEFAULT_IOSCHED
        default "noop" if DEFAULT_NOOP
 
 endmenu
+
+endif