chiark / gitweb /
journal: simplify pre-allocation logic
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Nov 2013 00:44:52 +0000 (01:44 +0100)
committerLennart 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