From: Daniel Golle Date: Thu, 6 Aug 2020 20:03:32 +0000 (+0100) Subject: kernel: modules: add package kmod-iosched-bfq X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cfe235c43686c3bea1479730f0af7ae883180ca8;p=openwrt%2Fstaging%2Fstintel.git kernel: modules: add package kmod-iosched-bfq Signed-off-by: Daniel Golle --- 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