chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
eda4b58
)
journal: simplify pre-allocation logic
author
Lennart Poettering
<lennart@poettering.net>
Wed, 27 Nov 2013 00:44:52 +0000
(
01:44
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 27 Nov 2013 00:50:36 +0000
(
01:50
+0100)
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.
No differences found