The following commit has been merged in the master branch: commit 04aecc99e073b07fe781d65c5c274acee14d8d26 Author: Andrew Deason <adea...@sinenomine.net> Date: Thu Aug 27 12:43:03 2009 -0500
Fix cache tracking for small fragsizes The tracked amount of disk cache used by a client can be incorrect when afs_fsfragsize is tuned to below 1023. Since we round up to the next nearest afs_fsfragsize+1 then round down to the kb, if afs_fsfragsize+1 < 1kb, we can undershoot the cache usage. This enforces afs_fsfragsize to always be at least 1023. Reviewed-on: http://gerrit.openafs.org/338 Tested-by: Derrick Brashear <sha...@dementia.org> Reviewed-by: Derrick Brashear <sha...@dementia.org> src/afs/afs.h | 8 ++++++++ src/afs/afs_dcache.c | 2 +- src/afs/afs_init.c | 3 +++ 3 files changed, 12 insertions(+), 1 deletions(-) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs