Bug 29098 - debuginfod - set default prefetch limits to >0
Summary: debuginfod - set default prefetch limits to >0
Status: RESOLVED FIXED
Alias: None
Product: elfutils
Classification: Unclassified
Component: debuginfod (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Noah Sanci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-27 23:01 UTC by Frank Ch. Eigler
Modified: 2022-05-16 18:57 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>