March 11, 2009
6:20 p.m.
Maybe it would make more sense for "synced" to force fsync() on each flush, not only on close. I'm not sure how useful it is, but that's what "synced" would imply to me.
That should be implement by passing O_SYNC on open, rather than explicitly calling fsync. Regards, Martin