[systemd-devel] [PATCH 1/2] Partially revert patch 11689d2a which force the NOCOW attribute.
Lennart Poettering
lennart at poettering.net
Wed Apr 22 04:33:01 PDT 2015
On Sun, 12.04.15 20:30, Goffredo Baroncelli (kreijack at libero.it) wrote:
> From: Goffredo Baroncelli <kreijack at inwind.it>
>
> Partially revert patch 11689d2a, which force the NOCOW attribute for the
> journal files. This patch was introduced to allievate the perfomances
> problem that journald shows on the BTRFS filesystem.
>
> Because the NOCOW attribute is forced the user can't revert to
> the old behavior. However NOCOW attribute disables the btrfs checksums,
> which prevent BTRFS to rebuild a currupted file in an RAIDx filesystem.
>
> To continue to set the NOCOW attribute, use the h|H command of
> systemd-tmpfile.
I have now commited a similar patch that replaces the patching of the
attribute for new journal files with a warning if we notice the
journal file is on btrfs and the flag is not set.
I hope this settles the issue!
Thanks!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list