[systemd-devel] [PATCH 3/3] Add a new tmpfiles.d snippets to set the NOCOW the journal.

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sun Mar 8 07:34:46 PDT 2015


On Sun, Mar 08, 2015 at 12:48:27PM +0100, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli <kreijack at inwind.it>
> 
> Add a new tmpfiles.d snippets to set the NOCOW attributes for the
> journal files. This allow better perfomance when the root file system
> is BTRFS. Pay attention that the NOCOW flags disables the checksum and
> prevent scrub to rebuild a corruputed journal.
> 
> Signed-off-by: Goffredo Baroncelli <kreijack at inwind.it>
Please drop the SOB.

> +# set the journal file as NOCOW; only valid for BTRFS filesystem
> +h /var/log/journal/%m - - - - +C
Shouldn't this be 'H'?

Zbyszek


More information about the systemd-devel mailing list