diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-27 01:44:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-27 01:50:36 +0100 |
commit | eda4b58b50509dc8ad0428a46e20f6c5cf516d58 (patch) | |
tree | 76ed24af6deb8e978ba1f5255a960196e144e8fd /src/journal/journald-server.c | |
parent | d0767ffd08bbb5c069e266710eb0462315e47e6d (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