From dca6219e04505e9fa10b32e71059ce2abfae1dad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 Jul 2012 22:24:02 +0200 Subject: journal: automatically rotate journal files if the data hash table is full > 75% Previously, when the main data hash table grows too full the performance simply started to decrease drastically. Instead, now simply rotate to a new journal file as the hash table gets to full, so that we can start with a new fresh empty hash table. --- src/journal/journal-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/journal/journal-internal.h') diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h index 64d05f0e1e..b767901432 100644 --- a/src/journal/journal-internal.h +++ b/src/journal/journal-internal.h @@ -108,5 +108,6 @@ struct sd_journal { }; char *journal_make_match_string(sd_journal *j); +void journal_print_header(sd_journal *j); #endif -- cgit v1.2.3