activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wangqinghuan <>
Subject Can fsync() ensure data is flushed to disk?
Date Tue, 06 Jun 2017 07:51:03 GMT
This article  tells me that even after syncing from the operating system
there is no guarantee the data has actually made it to disk. we must disable
disk cache to ensure data integrity .
This tells me that fsync() transfers  all modified in-core data of the file
referred to by the file descriptor fd to the disk device  so that all
changed information can be retrieved even after the system crashed or was
rebooted. This includes writing through or flushing a disk cache if present.
there are two different views in above 2 articles.What's correct?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message