Comment 151 for bug 317781

Revision history for this message
Michel Lind (michel-slm) wrote :

I wrote something similar, but with one change -- it turns out you must have write access to the file you want to fsync (or fdatasync).

It seems to work, but I have not had time to do a power loss simulation. Would be useful performance-wise on any system but ext3 (where calling this is identical in outcome to doing a full sync).