chiark / gitweb /
journald: whenever we rotate a file, btrfs defrag it
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Jan 2015 18:51:03 +0000 (19:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Jan 2015 19:31:40 +0000 (20:31 +0100)
Our write pattern is quite awful for CoW file systems (btrfs...), as we
keep updating file parts in the beginning of the file. This results in
fragmented journal files. Hence: when rotating files, defragment them,
since at that point we know that no further write accesses will be made.


No differences found