[OpenAFS] Is it possible to prevent caching local files?

Marc Dionne marc.c.dionne@gmail.com
Wed, 30 Mar 2011 19:28:43 -0400


On Wed, Mar 30, 2011 at 14:44, Harald Barth <haba@kth.se> wrote:
>
>> Is there a way to instruct the client to use a disk cache for remote
>> files and to use a memory cache (or not to use any cache at all) for
>> files stored locally? =A0Or to solve the problem in another way?
>
> I don't think that you can have different caching behaviour for
> different classes/groups/whatever of files or chunks in an AFS cache
> without a fair amount of programming.

Might be worth mentioning that in the master branch and upcoming 1.6
release there is a new cache bypass feature (linux only) that allows
the cache to be selectively bypassed for reading (but not for writing)
certain files.  Currently the only supported selection criteria is
file size, but with the basic infrastructure already in place it would
certainly be possible to add other types of criteria

Marc