On Sat, Apr 20, 2013 at 12:36:30AM +0000, Eric Wong wrote:
> fdatasync only flushes data to disk the kernel knows about,
> so we must tell the kernel about the data [...] before
> we fdatasync.
> 
as it happens, we do:

> > setlinebuf( svars->jfp );

that's also the reason why it works reliably without any f(data)sync as
long as your fs is mounted with data=ordered.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to