[systemd-devel] [PATCH] main: sync() before freeze()
Tom Gundersen
teg at jklm.no
Sat Jan 1 16:27:45 PST 2011
On Sat, Jan 1, 2011 at 7:52 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> 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 agree (I was considering doing just that).
> I have commited such a fix now.
Thanks!
-t
More information about the systemd-devel
mailing list