mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 04a046cf97b89410e9630b7dcf48e302c7f3276a Mon Sep 17 00:00:00 2001
|
|
From: Stefan Saraev <stefan@saraev.ca>
|
|
Date: Sat, 30 Nov 2013 13:16:37 +0200
|
|
Subject: [PATCH 1/8] journald: decrease limits
|
|
|
|
happy rpi users...
|
|
---
|
|
src/journal/journal-file.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
|
|
index 2845e05..e69918f 100644
|
|
--- a/src/journal/journal-file.c
|
|
+++ b/src/journal/journal-file.c
|
|
@@ -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 */
|
|
--
|
|
1.7.10.4
|
|
|