[systemd-devel] [PATCH 1/2] Partially revert patch 11689d2a which force the NOCOW attribute.

Goffredo Baroncelli kreijack at libero.it
Thu Apr 23 10:09:29 PDT 2015


Hi,

On 2015-04-22 13:33, Lennart Poettering wrote:
> 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!

Many thanks for working on that !
BR
G.Baroncelli


> 
> Thanks!
> 
> Lennart
> 


-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5


More information about the systemd-devel mailing list