Re: [PATCH 3/3] debuginfod: When retrieving files from cache, update atime manually

2023-03-29 Thread Jan Alexander Steffens (heftig) via Elfutils-devel
On Wed, Mar 29, 2023 at 10:54 PM Frank Ch. Eigler wrote: > 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.

Re: [PATCH 3/3] debuginfod: When retrieving files from cache, update atime manually

2023-03-29 Thread Frank Ch. Eigler via Elfutils-devel
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 mu

[PATCH 3/3] debuginfod: When retrieving files from cache, update atime manually

2023-03-23 Thread Jan Alexander Steffens (heftig) via Elfutils-devel
The cache cleaning logic requires atime to be correct (strictatime) but most users on Linux only have relatime or even noatime. Attempt to update the atime manually so that the cache works properly. Signed-off-by: Jan Alexander Steffens (heftig) --- debuginfod/debuginfod-client.c | 15 +