debuginfod: suppress fdcache prefetching during dwz lookup
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 20 Oct 2020 23:26:04 +0000 (19:26 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 21 Oct 2020 14:06:51 +0000 (10:06 -0400)
commite402d84c596705261d272bb047e94e824245411e
tree26f47dc7c53738acd9fe27d11a556cb124d336ab
parentfee123fb771f46274dfc8260c00f5d3061de2cd2
debuginfod: suppress fdcache prefetching during dwz lookup

During a recent from-scratch reindexing of the rpm/deb corpus at
debuginfod.elfutils.org, we found the fdcache chewed up an abnormal
amount of $TMPDIR space.  This was due to internal .dwz lookups, which
triggered fdcache prefetching as for a webapi query, but there was not
a timely fdcache eviction pass to clean it up again.  Rather than add
that pass, it's better to suppress the prefetching completely, as an
internal .dwz search will only ever need that file, not any others
from the same archive.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx