Once upon a time, Petr Pisar <[email protected]> said: > On 2018-07-11, Zbigniew Jędrzejewski-Szmek <[email protected]> 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 <[email protected]> _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]/message/LLOYZU75JTFBA2V63QGDVHABVJ37VXQQ/
