diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-10-07 23:03:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-10-07 23:03:07 +0200 |
commit | f4b4781191e8edfb5690e4447166e3ba7bcb48f5 (patch) | |
tree | ba7537ab065a42c68352672e59223d8c3024521b /src/journal/sd-journal.c | |
parent | 260a2be45522f03ce8d8aca38e471d7b0882ff05 (diff) |
journal: split user logs into their own journal files
Diffstat (limited to 'src/journal/sd-journal.c')
-rw-r--r-- | src/journal/sd-journal.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 8bca300f93..89bf545837 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -43,33 +43,6 @@ #define DEFAULT_WINDOW_SIZE (128ULL*1024ULL*1024ULL) -struct JournalFile { - int fd; - char *path; - struct stat last_stat; - int prot; - bool writable; - - Header *header; - - HashItem *hash_table; - void *hash_table_window; - uint64_t hash_table_window_size; - - uint64_t *bisect_table; - void *bisect_table_window; - uint64_t bisect_table_window_size; - - void *window; - uint64_t window_offset; - uint64_t window_size; - - Object *current; - uint64_t current_offset; - - LIST_FIELDS(JournalFile, files); -}; - struct sd_journal { Hashmap *files; }; |