pitrou commented on issue #39967:
URL: https://github.com/apache/arrow/issues/39967#issuecomment-1934470631

   Well, the manpage seems to indicate that `fdatasync` is what we want here?
   > fdatasync() is similar to fsync(), but does not flush modified metadata 
unless that metadata is needed in order to allow a subsequent data  retrieval  
to be  correctly  handled.   For example, changes to st_atime or st_mtime 
(respectively, time of last access and time of last modification; see inode(7)) 
do not require flushing because they are not necessary for a subsequent data 
read to be handled correctly.  On the other hand, a change  to  the  file  size 
(st_size, as made by say ftruncate(2)), would require a metadata flush.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to