diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-01-26 11:59:37 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:56:58 +0200 |
| commit | 72474e6b91c5753a7384664b121844385923f16a (patch) | |
| tree | 1c582cd2d5c88c9bed95d2efa01d555aba85ae07 /block | |
| parent | 85ceee97d9a1a80b5639d2175311c227b8033e97 (diff) | |
iosched: bfq: fix build
Diffstat (limited to 'block')
| -rw-r--r-- | block/Kconfig.iosched | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index d2f21031e..b168d2b36 100644 --- a/block/Kconfig.iosched +++ b/block/Kconfig.iosched @@ -86,6 +86,27 @@ config IOSCHED_FIOPS IOPS equally among all processes in the system. It's mainly for Flash based storage. +config IOSCHED_BFQ + tristate "BFQ I/O scheduler" + default n + ---help--- + The BFQ I/O scheduler tries to distribute bandwidth among + all processes according to their weights. + It aims at distributing the bandwidth as desired, independently of + the disk parameters and with any workload. It also tries to + guarantee low latency to interactive and soft real-time + applications. If compiled built-in (saying Y here), BFQ can + be configured to support hierarchical scheduling. + +config CGROUP_BFQIO + bool "BFQ hierarchical scheduling support" + depends on CGROUPS && IOSCHED_BFQ=y + default n + ---help--- + Enable hierarchical scheduling in BFQ, using the cgroups + filesystem interface. The name of the subsystem will be + bfqio. + choice prompt "Default I/O scheduler" default DEFAULT_CFQ @@ -121,6 +142,16 @@ choice config DEFAULT_FIOPS bool "FIOPS" if IOSCHED_FIOPS=y + config DEFAULT_BFQ + bool "BFQ" if IOSCHED_BFQ=y + help + Selects BFQ as the default I/O scheduler which will be + used by default for all block devices. + The BFQ I/O scheduler aims at distributing the bandwidth + as desired, independently of the disk parameters and with + any workload. It also tries to guarantee low latency to + interactive and soft real-time applications. + config DEFAULT_NOOP bool "No-op" @@ -133,6 +164,7 @@ config DEFAULT_IOSCHED default "sio" if DEFAULT_SIO default "cfq" if DEFAULT_CFQ default "fiops" if DEFAULT_FIOPS + default "bfq" if DEFAULT_BFQ default "noop" if DEFAULT_NOOP default "zen" if DEFAULT_ZEN default "sioplus" if DEFAULT_SIOPLUS |
