[systemd-devel] [PATCH] [RFCv6] Add sync timer to journal server
zbyszek at in.waw.pl
Sat Mar 23 15:54:04 PDT 2013
On Sat, Mar 23, 2013 at 09:26:59PM +0200, Oleksii Shevchuk wrote:
> > > Add option to force journal sync with fdatasync. Disabled by default.
> > Hi Oleksii,
> > why is it off by default?
> Hi Zbyszek,
> After discussion i am unsure about defaults for that option.
> Maybe only who cares should enable it?
IIUC, the point of this patch is to avoid losing the journal after
a crash during the time when journal is idle. This seems like a
generally desirable property. So we should make it work (without
too much overhead) for the majority of
and enable it by default.
On IRC Kay suggested 1-5 min. I think that this sounds about right.
Once the patch is in, I guess we can gather some statistics from
people and tune the settings.
More information about the systemd-devel