[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAO9HMNE=orzyjaH09X4Vp1rzmsu9A2b53YY_-zV_ZQ4=sz0TQQ@mail.gmail.com>
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