summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-18 18:55:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-18 18:55:23 +0100
commit5154e927509d88d466860450b691a3eb97eea8fc (patch)
treef8be265d486f61c13e9637ab22a9d5d053f66783 /sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch
parentb5bc6951ebbcc7c483642059290054ce0e7b7084 (diff)
sys-kernel/linux-image-redcore-lts : version bump, enable more hardening options
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch')
-rw-r--r--sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch b/sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch
new file mode 100644
index 00000000..d12753be
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch
@@ -0,0 +1,38 @@
+From 0e7ab31fb218e2a18fbecd19c24dfaae14c88afd Mon Sep 17 00:00:00 2001
+From: Con Kolivas <kernel@kolivas.org>
+Date: Mon, 20 Nov 2017 18:02:03 +1100
+Subject: [PATCH 15/18] Enable BFQ io scheduler by default.
+
+---
+ block/Kconfig.iosched | 2 +-
+ drivers/scsi/Kconfig | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
+index a4a8914bf7a4..2d9be91e8e87 100644
+--- a/block/Kconfig.iosched
++++ b/block/Kconfig.iosched
+@@ -82,7 +82,7 @@ config MQ_IOSCHED_KYBER
+
+ config IOSCHED_BFQ
+ tristate "BFQ I/O scheduler"
+- default n
++ default y
+ ---help---
+ BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
+ of the device among all processes according to their weights,
+diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
+index 8a739b74cfb7..9e939ee76e72 100644
+--- a/drivers/scsi/Kconfig
++++ b/drivers/scsi/Kconfig
+@@ -50,6 +50,7 @@ config SCSI_NETLINK
+ config SCSI_MQ_DEFAULT
+ bool "SCSI: use blk-mq I/O path by default"
+ depends on SCSI
++ default y
+ ---help---
+ This option enables the new blk-mq based I/O path for SCSI
+ devices by default. With the option the scsi_mod.use_blk_mq
+--
+2.14.1
+