Linux-only fdatasync() in 3c13bc
David Bremner
david at tethera.net
Wed May 7 06:17:58 PDT 2014
Tomi Ollila <tomi.ollila at iki.fi> writes:
> On Wed, May 07 2014, Kushal Kumaran <kushal.kumaran+notmuch at gmail.com> wrote:
>
>> Xīcò <xico at atelo.org> writes:
>>
>>> Also, commit 3c13bc introduced a call to fdatasync() which is not
>>> available on FreeBSD, and probably not either on MacOS at least.
>>>
>>
>> fdatasync is POSIX:
>> http://pubs.opengroup.org/onlinepubs/009695399/functions/fdatasync.html
>
> No wonder it is problematic, then >;)
>
I seem to recall Austin saying on IRC that this usage was guaranteed to
call fsync anyway. Comments Austin?
d
More information about the notmuch
mailing list