]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/sd-journal.c
journal: by default do not decompress dat objects larger than 64K
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Nov 2012 23:28:00 +0000 (00:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Nov 2012 23:28:00 +0000 (00:28 +0100)
commit93b73b064c663d6248bebfbbbd82989b5ca10fc5
tree464aea01e7952ddcf7088a594e0bfdf2e4647a0a
parentf2cf0403c99e8fa44c14b0ef70af90801f8681f0
journal: by default do not decompress dat objects larger than 64K

This introduces a new data threshold setting for sd_journal objects
which controls the maximum size of objects to decompress. This is
relieves the library from having to decompress full data objects even
if a client program is only interested in the initial part of them.

This speeds up "systemd-coredumpctl" drastically when invoked without
parameters.
13 files changed:
man/sd_journal_get_data.xml
man/sd_journal_query_unique.xml
src/journal/compress.c
src/journal/compress.h
src/journal/coredumpctl.c
src/journal/journal-file.c
src/journal/journal-internal.h
src/journal/journal-verify.c
src/journal/journald-server.c
src/journal/libsystemd-journal.sym
src/journal/sd-journal.c
src/shared/logs-show.c
src/systemd/sd-journal.h