Hi,
this is potentially a bit controversial, so sending as RFC.
Storage write_file() is used for SMS spooling (both in core for fragments and
in e.g. Marcel's history plugin patches). As we want to be sure we don't ack
SMS'es to network until we have succesfully stored them on device, I think we
Hi,
On 08 Feb 2011, Zabaluev Mikhail (Nokia-MS/Helsinki) wrote:
I would use fdatasync().
What about ensuring that file metadata are synced as well (e.g. the
file itself cannot be lost on the filesystem)?
RĂ©mi already responded about fdatasync semantics, but I do
wonder a bit about directory