On Sat, Mar 23, 2013 at 05:27:46PM +0200, Oleksii Shevchuk wrote: > Add option to force journal sync with fdatasync. Disabled by default. Hi Oleksii, why is it off by default?
> Interval configured via SyncIntervalSec option at journal.conf. Synced > journal files will be marked as OFFLINE. > > Manual sync can be performed via sending SIGUSR1. > --- > man/journald.conf.xml | 9 +++ > src/journal/journal-file.c | 61 ++++++++++++++++---- > src/journal/journal-file.h | 2 + > src/journal/journald-gperf.gperf | 1 + > src/journal/journald-server.c | 117 > +++++++++++++++++++++++++++++++++++++-- > src/journal/journald-server.h | 6 ++ > src/journal/journald.conf | 1 + > 7 files changed, 181 insertions(+), 16 deletions(-) > > diff --git a/man/journald.conf.xml b/man/journald.conf.xml > index 0797deb..f2d2806 100644 > --- a/man/journald.conf.xml > +++ b/man/journald.conf.xml > @@ -322,6 +322,15 @@ > seconds. </para></listitem> > </varlistentry> > > + > + <varlistentry> > + > <term><varname>SyncIntervalSec=</varname></term> > + > + <listitem><para>The maximum time to > + commit new journal data to disk. Disabled by > + default</para></listitem> Could you add an explanation how this is changes behaviour during crashes? Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel