[OpenAFS-devel] Patch to implement default tuning proposal discussed a while ago

Jim Rees rees@umich.edu
Wed, 17 Aug 2005 17:20:27 -0400


Ok, here's a possible problem:

afsd.c:1143 int maxDir = (cacheFiles + nFilesPerDir - 1) / nFilesPerDir;

Won't maxDir be too small if we're shrinking the cache and we're going to
remove some directories?  Won't this make us scribble past the end of 
cache_dir_filelist and cache_dir_list?