[openwrt/openwrt] kernel: modules: add package kmod-iosched-bfq

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 10 04:56:34 EDT 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cfe235c43686c3bea1479730f0af7ae883180ca8

commit cfe235c43686c3bea1479730f0af7ae883180ca8
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Aug 6 21:03:32 2020 +0100

    kernel: modules: add package kmod-iosched-bfq
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/kernel/linux/modules/block.mk | 14 ++++++++++++++
 target/linux/generic/config-4.14      |  1 -
 target/linux/generic/config-4.19      |  1 -
 target/linux/generic/config-5.4       |  1 -
 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



More information about the lede-commits mailing list