summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-17 19:59:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-18 02:40:49 +0200
commit40480aab2e8f92f2e9941520591bffed7d3da053 (patch)
tree368f7f85e769a79fe6f0bb8789631bde981dd18d /target/linux
parent7860d7c979c276baf7506451431890733759fd68 (diff)
linux: allow to select IO scheduler, default to deadline
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.block26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 487cfd206..758abeaa3 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -8,6 +8,32 @@ menu "Block devices support"
depends on ADK_TARGET_WITH_BLOCK \
|| ADK_TARGET_GENERIC
+config ADK_KERNEL_IOSCHED_DEADLINE
+ bool
+
+config ADK_KERNEL_IOSCHED_CFQ
+ bool
+
+config ADK_KERNEL_IOSCHED_NOOP
+ bool
+
+choice
+prompt "I/O scheduler"
+
+config ADK_KERNEL_DEFAULT_DEADLINE
+ bool "deadline"
+ select ADK_KERNEL_IOSCHED_DEADLINE
+
+config ADK_KERNEL_DEFAULT_CFQ
+ bool "cfq"
+ select ADK_KERNEL_IOSCHED_CFQ
+
+config ADK_KERNEL_DEFAULT_NOOP
+ bool "noop"
+ select ADK_KERNEL_IOSCHED_NOOP
+
+endchoice
+
config ADK_KERNEL_IDE
bool