summaryrefslogtreecommitdiff
path: root/src/journal/journald-server.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-27 01:44:52 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-27 01:50:36 +0100
commiteda4b58b50509dc8ad0428a46e20f6c5cf516d58 (patch)
tree76ed24af6deb8e978ba1f5255a960196e144e8fd /src/journal/journald-server.c
parentd0767ffd08bbb5c069e266710eb0462315e47e6d (diff)
journal: simplify pre-allocation logic
let's just do a single fallocate() as far as possible, and don't distuingish between allocated space and file size. This way we can save a syscall for each append, which makes quite some benefits.
Diffstat (limited to 'src/journal/journald-server.c')
0 files changed, 0 insertions, 0 deletions