Hi,

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of ext Denis Kenzior
> Sent: Thursday, February 03, 2011 9:13 AM
> To: [email protected]
> Cc: Vehmanen Kai (Nokia-MS/Tampere)
> Subject: Re: [RFC 2/2] doc: Add description for history agent interface
> 
> Of course, fsync is the best you can do.  I'm just pointing out that
> even with fsync you're not guaranteed to 'safely' receive the SMS.  You
> can still get astronomically unlucky: fsync, ack the message but still
> crash before it has a chance to appear on the physical media or corrupt
> the filesystem some other way.

No, that should be taken care of by fsync and filesystem journaling in 
non-broken systems.
If your filesystem storage has a writeback cache that you cannot flush, you are 
screwed no matter what you do, of course.

Best regards,
  Mikhail

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to