dryang / rpms / systemd

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