[OpenAFS-devel] Bug with bypass-cache

Marc Dionne marc.c.dionne@gmail.com
Mon, 10 Jan 2011 09:29:39 -0500


On Mon, Jan 10, 2011 at 9:05 AM, Hartmut Reuter <reuter@rzg.mpg.de> wrote:
> Ever someone tried bypass caching? I have my doubts!
>
> It's probably not the best idea to use for
> FCSDesireBypass the same bit as for CStatd and for
> FCSBypass the same bit as for CBackup and for
> FCSManuallySet the same as for CRO.
>
> If you try to read a file bypassing the cache you get
>
> [ 2103.337408] openafs: afs_TransitionToBypass: illegal transition to
> bypass--already FCSBypass

I've actually done quite a bit of testing with cache bypass, but
admittedly not with the 1.6 branch or pre-release.

I think we need at least this for 1.6:
http://git.openafs.org/?p=openafs.git;a=commit;h=f2c6ae300a211460c24c87752cf9400b9e61ee1f

We probably want the other cache bypass related fixes/improvements
from master as well.

Marc