El 02/06/11 18:34, Greg Freemyer escribió:
On Thu, Jun 2, 2011 at 5:48 PM, Jeff Mahoney <jeffm@suse.com> wrote: <snip>
data=writeback means that the journal will not stall on large writes when the journal must be flushed to the general file system or an fsync() is called. This will perform the best for most write loads but can introduce corruption at the end of files if the system crashes if the file is extended (metadata) before the file data itself is written out (data).
I don't recall it being an issue with ext3, but XFS in the 2003 timeframe had a major issue if a system crashed while a config file update was pending.
Userspace (KDE in particular back then) would do something like
open() truncate_config_file() write_new_data() // fail to call fsync() close()
This kind of bugs still exist in abudance, mount with noauto_da_alloc to disable workarounds. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org