>  The below patch breaks the common case, making the generation of the

I see.. I was considering just the /version <= rpmdb < now case,
where it'd produce rpmdb < /version so the cache is valid.

> "/version" cache mostly useless (it's always generated within the same
> second that we last altered the rpmdb AFAIK).

Likely.  But the next rpmdb access saves /version with new
timestamp so THEN it's cached. Still, we unnecessarily give
up one cache hit (on a fs with 1s mtime precision).
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to