[systemd-devel] [PATCH 2/2] Add +C attrib to the journal files directories

Lennart Poettering lennart at poettering.net
Mon Apr 13 07:53:13 PDT 2015


On Sun, 12.04.15 20:30, Goffredo Baroncelli (kreijack at libero.it) wrote:

> From: Goffredo Baroncelli <kreijack at inwind.it>
> 
> Add +C attrib to the journal files directories. The journal file format
> behaves bad on a BTRFS filesystem: the performances decrease during the
> time.
> To avoid this issue, this tmpfile.d snippet sets the NOCOW attribute to the
> journal files directories, so newly created journal files inherit the NCOOW
> attribute.
> 
> Be aware that the NOCOW attribute disables the BTRFS checksums, prevent BTRFS
> to rebuild a corrupted file in a RAIDx filesystem. However the perfomances
> increase.
> In a single disk filesystem (or a filesystem without redundancy) it is safe
> to use the NOCOW flags.

Applied this one with some changes. Other paztch will follow shortly.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list