Once upon a time, Petr Pisar <ppi...@redhat.com> said:
> On 2018-07-11, Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> wrote:
> > The effects of fsync are impossible to see unless you hard-reboot the
> > machine.
> 
> Are you sure non-fsynced changes are are guaranteed to be visible on
> block cache level? E.g. if you mix read/write and mmaped I/O from
> different processes?

fsync() has nothing to do with that - it is purely a request to push the
buffer to disk.  There is nothing defined about fsync() that would
affect inter-process I/O.

http://pubs.opengroup.org/onlinepubs/009695299/functions/fsync.html

-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LLOYZU75JTFBA2V63QGDVHABVJ37VXQQ/

Reply via email to