lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 12 Jun 2013 16:23:44 -0500
From:	Steve Bergman <sbergman27@...il.com>
To:	linux-ext4@...r.kernel.org
Subject: What does commit=5 really mean?

Hi,

I'm trying to understand the "commit=nrsec" mount option. I had
thought that it controlled the time between commits of journaled
metadata to its permanent location in disk. However, the kernel
documentation says:

"""
Ext4 can be told to sync all its data and metadata
every 'nrsec' seconds. The default value is 5 seconds.
This means that if you lose your power, you will lose
as much as the latest 5 seconds of work (your
filesystem will not be damaged though, thanks to the
journaling).
"""

This suggests that both metadata and data get committed every nrsec
seconds. But my understanding was that in the default
"data=ordered,delalloc" mode, metadata gets commited every 5s, and
data every 30s. Could someone please clarify?

Thanks,
Steve Bergman
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ