Re: [Bug debuginfod/29098] set default prefetch limits to >0

2022-05-09 Thread Frank Ch. Eigler via Elfutils-devel
Hi - Thanks, committing this, with corrected comments and changelog entries and a bit of man page cleanup. diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index 619ebd8c9202..026908c85000 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,7 @@ +2022-05-09 Noah Sanc

Re: [Bug debuginfod/29098] set default prefetch limits to >0

2022-05-09 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > + // Make the prefetch cache spaces smaller than the normal > + // fd cache if rpm scanning is on. This is to not waste memory > + // since the prefetch cache isn't used when -R isn't specified > + // Set to 1/2 arbitrarily > + if ( scan_archives[".rpm"] == "cat" ) > +{ > + if

[Bug debuginfod/29098] set default prefetch limits to >0

2022-05-09 Thread Noah Sanci via Elfutils-devel
debuginfod/debuginfod.cxx: - Added default value to fdcache_prefetch_mds and fdcache_prefetch_fds when -R is specified. Defaults to one half of fdcache's values for those respective variables. These values are only set when -R is specified Note: the ratio of prefetch:fdcache file descrip