2024-12-10 06:44:25 +03:00
|
|
|
From 8c3035b22be106d8659d85c2651e589f53e89cc5 Mon Sep 17 00:00:00 2001
|
2024-10-29 05:12:06 +03:00
|
|
|
From: Alexandre Frade <kernel@xanmod.org>
|
|
|
|
Date: Thu, 6 Jan 2022 16:59:01 +0000
|
2024-12-10 06:44:25 +03:00
|
|
|
Subject: [PATCH 07/18] XANMOD: block/mq-deadline: Disable front_merges by
|
2024-10-29 05:12:06 +03:00
|
|
|
default
|
|
|
|
|
|
|
|
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
|
|
|
---
|
|
|
|
block/mq-deadline.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/block/mq-deadline.c
|
|
|
|
+++ b/block/mq-deadline.c
|
|
|
|
@@ -600,7 +600,7 @@ static int dd_init_sched(struct request_
|
|
|
|
dd->fifo_expire[DD_READ] = read_expire;
|
|
|
|
dd->fifo_expire[DD_WRITE] = write_expire;
|
|
|
|
dd->writes_starved = writes_starved;
|
|
|
|
- dd->front_merges = 1;
|
|
|
|
+ dd->front_merges = 0;
|
|
|
|
dd->last_dir = DD_WRITE;
|
|
|
|
dd->fifo_batch = fifo_batch;
|
|
|
|
dd->prio_aging_expire = prio_aging_expire;
|