[OpenAFS] clarification on client caches

Jim Rees rees@umich.edu
Thu, 09 Sep 2004 15:28:48 -0400

It pretty much has to be those u_int types in
afs_dcache.c:afs_CacheTruncateDaemon(), right?  Have you tried changing them
to afs_uint64?

There may be other problems too but that would be a good start.

Yes, the arithmetic is mostly on blocks, not bytes.  But there a couple
places where blocks are multiplied by 100 to get percent.  Easier to just do
all the arithmetic in 64 bits and not have to worry about it.

If this turns out to be the correct fix, it might have to be made
conditional on AFS_64BIT_ENV.