Bug 29098

Summary: debuginfod - set default prefetch limits to >0
Product: elfutils Reporter: Frank Ch. Eigler <fche>
Component: debuginfodAssignee: Noah Sanci <nsanci>
Status: RESOLVED FIXED    
Severity: normal CC: elfutils-devel, nsanci
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:

Description Frank Ch. Eigler 2022-04-27 23:01:00 UTC
When the prefetch-fd cache was separated from the main one, the prefetch default parameters ended up with 0,0 values, unintentionally.  They should be somewhat non-zero, probably a function of the default values of the main fdcache.
Comment 1 Noah Sanci 2022-05-16 18:57:16 UTC
    PR29098: debuginfod - set default prefetch cache size to >0
    
    Added default value to fdcache_prefetch_mds and fdcache_prefetch_fds.
    Defaults to one half of corresponding fdcache's values.
    
    Signed-off-by: Noah Sanci <nsanci@redhat.com>