Assuming touch etc. is not involved, just standard open, write, close, link system calls.One process is updating files, another is periodically stating to see if they've changed and reloading the contents.If it possible for the second process to end up with an incorrect view of a file, if it reloaded before the first had completed the write?Looking primarily at Linux ext4 file-systems, but information for others could be useful if they differ.
Can you read an updated mtime, but when reading the contents they have yet to be updated?
linux;files;ext4;timestamps;concurrency