summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-31 00:57:14 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-31 00:57:14 +0100
commit74ef2d16ada74db3059d825ce8d24ea74946bf8f (patch)
tree468f53e73744012b0ee22f8d9b46a932df09824d /src/journal/journal-file.h
parentb3a0ad5ab142a142ab526aeb3d0b69e98e4e523c (diff)
journal: move max_use into metrics structure
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r--src/journal/journal-file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h
index ab2970ca00..acc55272a0 100644
--- a/src/journal/journal-file.h
+++ b/src/journal/journal-file.h
@@ -28,7 +28,7 @@
#include "util.h"
#include "sd-id128.h"
-#define DEFAULT_MAX_SIZE (1024ULL*128ULL)
+#define DEFAULT_MAX_SIZE (128ULL*1024ULL*1024ULL)
#define DEFAULT_MIN_SIZE (256ULL*1024ULL)
#define DEFAULT_KEEP_FREE (1ULL*1024ULL*1024ULL)
#define DEFAULT_MAX_USE (16ULL*1024ULL*1024ULL*16ULL)
@@ -54,6 +54,7 @@ typedef struct JournalMetrics {
uint64_t max_size;
uint64_t min_size;
uint64_t keep_free;
+ uint64_t max_use;
} JournalMetrics;
typedef struct JournalFile {