aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-08-06 21:03:32 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-08-10 09:52:31 +0100
commitcfe235c43686c3bea1479730f0af7ae883180ca8 (patch)
treee255d350a06564bf7f7b45c1a4beb811785c2775
parent9e7ef460652748395c897468af662df6ce2cb8d5 (diff)
downloadupstream-cfe235c43686c3bea1479730f0af7ae883180ca8.tar.gz
upstream-cfe235c43686c3bea1479730f0af7ae883180ca8.tar.bz2
upstream-cfe235c43686c3bea1479730f0af7ae883180ca8.zip
kernel: modules: add package kmod-iosched-bfq
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--package/kernel/linux/modules/block.mk14
-rw-r--r--target/linux/generic/config-4.141
-rw-r--r--target/linux/generic/config-4.191
-rw-r--r--target/linux/generic/config-5.41
4 files changed, 14 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index fbd3c81911..8a7232d8be 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -565,3 +565,17 @@ define KernelPackage/scsi-tape
endef
$(eval $(call KernelPackage,scsi-tape))
+
+define KernelPackage/iosched-bfq
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=Kernel support for BFQ I/O scheduler
+ KCONFIG:= \
+ CONFIG_IOSCHED_BFQ \
+ CONFIG_BFQ_GROUP_IOSCHED=y \
+ CONFIG_BFQ_CGROUP_DEBUG=n
+ FILES:= \
+ $(LINUX_DIR)/block/bfq.ko
+ AUTOLOAD:=$(call AutoLoad,10,bfq)
+endef
+
+$(eval $(call KernelPackage,iosched-bfq))
diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14
index b3d7d39935..da156d2145 100644
--- a/target/linux/generic/config-4.14
+++ b/target/linux/generic/config-4.14
@@ -2064,7 +2064,6 @@ CONFIG_INPUT_MISC=y
# CONFIG_INV_MPU6050_IIO is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_IOMMU_SUPPORT is not set
-# CONFIG_IOSCHED_BFQ is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_NOOP=y
diff --git a/target/linux/generic/config-4.19 b/target/linux/generic/config-4.19
index de28c51e3d..2d6d34a83d 100644
--- a/target/linux/generic/config-4.19
+++ b/target/linux/generic/config-4.19
@@ -2186,7 +2186,6 @@ CONFIG_INPUT_MISC=y
# CONFIG_INV_MPU6050_IIO is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_IOMMU_SUPPORT is not set
-# CONFIG_IOSCHED_BFQ is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_NOOP=y
diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4
index 563561859d..ae97a1580e 100644
--- a/target/linux/generic/config-5.4
+++ b/target/linux/generic/config-5.4
@@ -2344,7 +2344,6 @@ CONFIG_INPUT_MISC=y
# CONFIG_INV_MPU6050_IIO is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_IOMMU_SUPPORT is not set
-# CONFIG_IOSCHED_BFQ is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_NOOP=y