Once upon a time, Petr Pisar <ppisar@xxxxxxxxxx> said: > On 2018-07-11, Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> 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 <linux@xxxxxxxxxxx> _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx/message/LLOYZU75JTFBA2V63QGDVHABVJ37VXQQ/