Thread (29 messages) 29 messages, 11 authors, 2020-11-19

Re: [PATCH] enable core.fsyncObjectFiles by default

From: Christoph Hellwig <hch@lst.de>
Date: 2018-01-17 19:42:27
Also in: linux-fsdevel

Possibly related (same subject, not in this thread)

On Wed, Jan 17, 2018 at 11:37:31AM -0800, Matthew Wilcox wrote:
How about this instead?

This option is enabled by default and ensures data integrity by calling
fsync after writing object files.  It is not necessary on filesystems
which journal data writes, but is still necessary on filesystems which
do not use journalling (ext2), or that only journal metadata writes
(OS X's HFS+, or Linux's ext4 with "data=writeback").  Turning this
option off will increase performance at the possible risk of data loss.
I think this goes entirely into the wrong direction.  The point is
fsync is always the right thing to do.  But on ext3 (and ext3 only)
the right thing is way too painful, and conveniently ext3 happens
to be almost ok without it.  So if anything should get a special
mention it is ext3.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help