[K42-discussion] disable symlink caching patch

Patrick Bozeman PEBozeman at lbl.gov
Wed Sep 27 13:03:36 EST 2006


I'm not in front of the code at the moment, but I think you are  
right.. that would be a lot cleaner.  I'll change it and resubmit.

On Sep 26, 2006, at 7:44 PM, Dilma DaSilva wrote:

>
> Hi Patrick,
>
> I believe the proper way of doing what you need is to define a method
> DirLinuxFSVolatile::readlink() with the behavior you need, i.e., no
> caching of symlink value. I'm sorry that readlink was not properly
> taken care of in DirLinuxFSVolatile; at some point we reimplemented
> symlinks and we never did the proper thing for "volatile" file
> systems. Could you please submit a new patch? Thank you very much!
>
> Dilma
>
> Patrick Bozeman writes:
>> This patch may be controversial, I'm not sure.   I basically  
>> changed the
>> behavior from always returning the cached contents of a symlink to
>> always calling fsFile->readlink().   See the comment in the patch.
>>
>> I left the code in that actually keeps the symlink value in the
>> nameholder even though we don't end up reusing it in this patch.
> _______________________________________________
> K42-discussion mailing list
> K42-discussion at ozlabs.org
> https://ozlabs.org/mailman/listinfo/k42-discussion




More information about the K42-discussion mailing list