OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_62-11-g04aecc9
Gerrit Code Review
gerrit@openafs.org
Tue, 1 Sep 2009 04:39:02 -0700 (PDT)
The following commit has been merged in the master branch:
commit 04aecc99e073b07fe781d65c5c274acee14d8d26
Author: Andrew Deason <adeason@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 <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@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