journal: implement generic sharable mmap caching logic
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Aug 2012 20:02:24 +0000 (22:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Aug 2012 15:10:56 +0000 (17:10 +0200)
commit16e9f408fa9a9626059bdd6c89dc175e06b9e976
tree89a6730a2f044626c9ca67d278dd6ac6a844aec3
parent405053fafa88022c68e7adf04c91a56c1cde7dd8
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.
Makefile.am
src/journal/journal-file.c
src/journal/journal-file.h
src/journal/journal-internal.h
src/journal/journald.c
src/journal/journald.h
src/journal/mmap-cache.c [new file with mode: 0644]
src/journal/mmap-cache.h [new file with mode: 0644]
src/journal/sd-journal.c
src/journal/test-journal-stream.c
src/journal/test-journal.c