The following commit has been merged in the master branch:
commit 04aecc99e073b07fe781d65c5c274acee14d8d26
Author: Andrew Deason <[email protected]>
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 <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
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
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs