-
-
Notifications
You must be signed in to change notification settings - Fork 22k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Buildsystem] Prevent cache check mangling access time #99501
Conversation
This could be replaced by having another way to handle the checking for text files, but I'm not aware of one. Couldn't find any way to use |
|
And another question. Maybe cache should rely on mtime? Not on atime? |
It shouldn't rely on |
Checking for text files using `open` changes `atime`, which breaks cache access sorting, this ensures the cache access time is preserved.
942f6c2
to
31c8aad
Compare
Thanks! |
Thank you! |
Checking for text files using
open
changesatime
, which breaks cache access sorting, this ensures the cache access time is preserved.From looking at the code (without testing) this seems to be a regression from:
So shouldn't affect older versions but haven't tested explicitly there for access time issues