rpm-ostree/rust
Colin Walters 12cc4e5f5b composepost: Fix race condition in timestamp checking
`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.
2021-04-30 15:15:10 -04:00
..
libdnf-sys build(deps): bump cxx from 1.0.47 to 1.0.48 2021-04-29 08:55:14 +00:00
rpmostree-client rust/client: Make status be a method 2021-04-07 18:56:59 +00:00
src composepost: Fix race condition in timestamp checking 2021-04-30 15:15:10 -04:00
.gitignore Add testutils generate-synthetic-upgrade 2020-08-18 17:23:15 +02:00
LICENSE-APACHE Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00
LICENSE-MIT Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00