summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-sources-redcore-lts/files/0015-Enable-BFQ-io-scheduler-by-default.patch
blob: d12753bed5cffe42427b76fb8a10d218b4847944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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