From 40480aab2e8f92f2e9941520591bffed7d3da053 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 17 Sep 2017 19:59:44 +0200 Subject: linux: allow to select IO scheduler, default to deadline --- target/linux/config/Config.in.block | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'target/linux/config/Config.in.block') 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 -- cgit v1.2.3