Files
Arch-R/packages/sysutils/systemd/patches/systemd-01_journald-decrease-limits.patch

32 lines
1.1 KiB
Diff
Raw Normal View History

2015-02-18 19:41:51 +02:00
From 04a046cf97b89410e9630b7dcf48e302c7f3276a Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Sat, 30 Nov 2013 13:16:37 +0200
2015-02-18 19:41:51 +02:00
Subject: [PATCH 1/8] journald: decrease limits
2014-12-11 19:48:11 +02:00
happy rpi users...
---
src/journal/journal-file.c | 4 ++--
2014-12-11 19:48:11 +02:00
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
2015-02-18 19:41:51 +02:00
index 2845e05..e69918f 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
2015-02-18 19:41:51 +02:00
@@ -42,11 +42,11 @@
#define COMPRESSION_SIZE_THRESHOLD (512ULL)
/* This is the minimum journal file size */
-#define JOURNAL_FILE_SIZE_MIN (4ULL*1024ULL*1024ULL) /* 4 MiB */
+#define JOURNAL_FILE_SIZE_MIN (128ULL*1024ULL) /* 128 K */
/* These are the lower and upper bounds if we deduce the max_use value
* from the file system size */
-#define DEFAULT_MAX_USE_LOWER (1ULL*1024ULL*1024ULL) /* 1 MiB */
+#define DEFAULT_MAX_USE_LOWER (512ULL*1024ULL) /* 512 K */
#define DEFAULT_MAX_USE_UPPER (4ULL*1024ULL*1024ULL*1024ULL) /* 4 GiB */
/* This is the upper bound if we deduce max_size from max_use */
--
2014-12-11 19:48:11 +02:00
1.7.10.4