[PATCH 3/3] debuginfod: When retrieving files from cache, update atime manually
Frank Ch. Eigler
fche@redhat.com
Wed Mar 29 20:54:53 GMT 2023
Hi -
> The cache cleaning logic requires atime to be correct (strictatime) but
> most users on Linux only have relatime or even noatime.
This is not really correct: relatime is the kernel default and works
fine with the cache. atime values updated once a day are still plenty
for caches with a multi-day preservation default.
> Attempt to update the atime manually so that the cache works properly.
Has this been observed to work on noatime-mounted filesystems? It's
at worst harmless so we could merge it, but it's kind of weird. Do
you know such precedents in other software that consumes atime?
- FChE
More information about the Elfutils-devel
mailing list