teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0251-sd-bus-bump-message-queue-size-again.patch

4fbe94
From 62623bafd9ce4842122ddeda83f9527e43b9a21f Mon Sep 17 00:00:00 2001
4fbe94
From: Jan Synacek <jsynacek@redhat.com>
4fbe94
Date: Fri, 8 Nov 2019 14:54:30 +0100
4fbe94
Subject: [PATCH] sd-bus: bump message queue size again
4fbe94
4fbe94
Simliarly to issue #4068, the current limit turns out to be too small for a
4fbe94
big storage setup that uses many small disks. Let's bump it further.
4fbe94
4fbe94
(cherry picked from commit 83a32ea7b03d6707b8e5bb90a0b3a6eb868ef633)
4fbe94
Resolves: #1770189
4fbe94
---
4fbe94
 src/libsystemd/sd-bus/bus-internal.h | 4 ++--
4fbe94
 1 file changed, 2 insertions(+), 2 deletions(-)
4fbe94
4fbe94
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h
4fbe94
index 90e6028983..5d773b14c4 100644
4fbe94
--- a/src/libsystemd/sd-bus/bus-internal.h
4fbe94
+++ b/src/libsystemd/sd-bus/bus-internal.h
4fbe94
@@ -328,8 +328,8 @@ struct sd_bus {
4fbe94
  * with enough entropy yet and might delay the boot */
4fbe94
 #define BUS_AUTH_TIMEOUT ((usec_t) DEFAULT_TIMEOUT_USEC)
4fbe94
 
4fbe94
-#define BUS_WQUEUE_MAX (192*1024)
4fbe94
-#define BUS_RQUEUE_MAX (192*1024)
4fbe94
+#define BUS_WQUEUE_MAX (384*1024)
4fbe94
+#define BUS_RQUEUE_MAX (384*1024)
4fbe94
 
4fbe94
 #define BUS_MESSAGE_SIZE_MAX (128*1024*1024)
4fbe94
 #define BUS_AUTH_SIZE_MAX (64*1024)