summaryrefslogtreecommitdiff
path: root/SOURCES/zen.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-07-21 22:57:09 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-07-21 23:21:30 +0200
commitcca3b28be503223222519e3ebba2749cf24894f3 (patch)
tree9f589ac6e7dc6dd8e9830d675d46efbd25191504 /SOURCES/zen.patch
parent969572ecac2cb15a106d9e0f5bfa840608faa5b4 (diff)
downloadkernel-fsync-cca3b28be503223222519e3ebba2749cf24894f3.tar.gz
kernel-fsync-cca3b28be503223222519e3ebba2749cf24894f3.zip
kernel 5.13.3
Diffstat (limited to 'SOURCES/zen.patch')
-rw-r--r--SOURCES/zen.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/SOURCES/zen.patch b/SOURCES/zen.patch
index 635efe0..72639ef 100644
--- a/SOURCES/zen.patch
+++ b/SOURCES/zen.patch
@@ -451,10 +451,10 @@ Signed-off-by: Alexandre Frade <admfrade@gmail.com>
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/block/elevator.c b/block/elevator.c
-index 293c5c8..71111fa 100644
+index 4eab3d70e880..79669aa39d79 100644
--- a/block/elevator.c
+++ b/block/elevator.c
-@@ -616,15 +616,15 @@ static inline bool elv_support_iosched(struct request_queue *q)
+@@ -623,16 +623,16 @@ static inline bool elv_support_iosched(struct request_queue *q)
}
/*
@@ -465,7 +465,8 @@ index 293c5c8..71111fa 100644
*/
static struct elevator_type *elevator_get_default(struct request_queue *q)
{
- if (q->nr_hw_queues != 1)
+ if (q->nr_hw_queues != 1 &&
+ !blk_mq_is_sbitmap_shared(q->tag_set->flags))
return NULL;
- return elevator_get(q, "mq-deadline", false);