summaryrefslogtreecommitdiff
path: root/src/journal/journald.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-14 22:02:24 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-16 17:10:56 +0200
commit16e9f408fa9a9626059bdd6c89dc175e06b9e976 (patch)
tree89a6730a2f044626c9ca67d278dd6ac6a844aec3 /src/journal/journald.h
parent405053fafa88022c68e7adf04c91a56c1cde7dd8 (diff)
journal: implement generic sharable mmap caching logic
instead of having one simple per-file cache implement an more comprehensive one that works for multiple files and can actually maintain multiple maps per file and per object type.
Diffstat (limited to 'src/journal/journald.h')
-rw-r--r--src/journal/journald.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journald.h b/src/journal/journald.h
index d08a194780..0202893d86 100644
--- a/src/journal/journald.h
+++ b/src/journal/journald.h
@@ -93,6 +93,8 @@ typedef struct Server {
Storage storage;
+ MMapCache *mmap;
+
bool dev_kmsg_readable;
uint64_t *kernel_seqnum;