[systemd-devel] [PATCH] main: sync() before freeze()
Lennart Poettering
lennart at poettering.net
Sat Jan 1 10:52:07 PST 2011
On Sat, 01.01.11 19:46, Lennart Poettering (lennart at poettering.net) wrote:
>
> On Wed, 29.12.10 00:12, Tom Gundersen (teg at jklm.no) wrote:
>
> > Avoids data loss when systemd freezes and a hard-reset is required.
>
> Hmm, I figure it might make more sense putting the sync() call right in
> the freeze() function, since there's probably no reason ever to call
> freeze() without implying a sync()?
I have commited such a fix now.
Thanks for your patch, Tom!
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list