[OpenAFS] Reading files without caching

Derrick J Brashear shadow@dementia.org
Fri, 23 Aug 2002 13:23:45 -0400 (EDT)


On Fri, 23 Aug 2002, Mark Montague wrote:

> 
> I'm writing a C program that will be reading 48,000 files from AFS, one
> at a time.  The average size of each file is 24 KB, maximum size 10 MB.
> Each file will only be read once.  Is there any way to tell the cache
> manager not to bother caching a file?  Or to give the cache manager a
> hint that a file will be accessed with only large sequential reads?

Could write a custom client to bypass the cache manager entirely. 
Look in src/tests in the OpenAFS distribution for a minimal client from
Chaskiel Grundman. I think it's "afscp"