linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Systemd 219 journald now sets the FS_NOCOW file flag for its journal files, possibly breaking RAID repairs.
@ 2015-02-19 14:30 Konstantinos Skarlatos
  2015-02-19 17:51 ` Chris Murphy
  2015-02-19 22:57 ` Duncan
  0 siblings, 2 replies; 4+ messages in thread
From: Konstantinos Skarlatos @ 2015-02-19 14:30 UTC (permalink / raw)
  To: btr >> linux-btrfs@vger.kernel.org; +Cc: lennart Poettering

Systemd 219 now sets the special FS_NOCOW file flag for its journal 
files[1]. This unfortunately breaks the ability to repair the journal on 
RAID 1/5/6 btrfs volumes, should a bad sector happen to appear there. Is 
this something that can be configured for systemd? Is btrfs going to 
someday fix the fragmentation problem, making this option reduntant?


[1] 
http://lists.freedesktop.org/archives/systemd-devel/2015-February/028447.html

         * journald now sets the special FS_NOCOW file flag for its
           journal files. This should improve performance on btrfs, by
           avoiding heavy fragmentation when journald's write-pattern
           is used on COW file systems. It degrades btrfs' data
           integrity guarantees for the files to the same levels as for
           ext3/ext4 however. This should be OK though as journald does
           its own data integrity checks and all its objects are
           checksummed on disk. Also, journald should handle btrfs disk
           full events a lot more gracefully now, by processing SIGBUS
           errors, and not relying on fallocate() anymore.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-19 22:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 14:30 Systemd 219 journald now sets the FS_NOCOW file flag for its journal files, possibly breaking RAID repairs Konstantinos Skarlatos
2015-02-19 17:51 ` Chris Murphy
2015-02-19 21:23   ` Duncan
2015-02-19 22:57 ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).