[OpenAFS] About openafs discon mode

nicolas prochazka prochazka.nicolas@gmail.com
Fri, 20 Dec 2013 18:02:23 +0100


I only use afs files in read only , so it should not be a problem,
I cannot find this parameter ( cache entry timeout ) of two hours in code.

Regards,
Nicolas Prochazka.

2013/12/20 Jeffrey Hutzelman <jhutz@cmu.edu>:
> On Fri, 2013-12-20 at 17:30 +0100, nicolas prochazka wrote:
>> ok,
>> is it possible to define cache entrie timeout by configuration or by
>> hacking code ?
>
> Not if you don't want corrupted files.  Callback lifetime is determined
> by the fileserver, and the protocol requires that clients invalidate
> cached metadata when the callback expires.  Failing to do this can
> result in your cache becoming stale, which in turn can cause your client
> to write old data from its cache over top of new data on the server.
>
> -- Jeff
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info