12cc4e5f5b
`syncfs()` isn't going to do anything on e.g. `tmpfs` and even if it did wouldn't fix any race conditions because that's about synchronizing in memory changes to disk, but won't change what system calls return. Some investigation turned up https://stackoverflow.com/questions/14392975/timestamp-accuracy-on-ext4-sub-millsecond and `current_fs_time` is now: https://www.kernel.org/doc/html/v5.12/core-api/timekeeping.html Basically there's a "coarse" time that might only update once every 10ms for example. Let's just sleep 100ms for now. I think we should be using the inode versions, but we can investigate that separately. |
||
---|---|---|
.. | ||
libdnf-sys | ||
rpmostree-client | ||
src | ||
.gitignore | ||
LICENSE-APACHE | ||
LICENSE-MIT |