[OpenAFS] best practice for salvage

Derrick Brashear shadow@gmail.com
Thu, 3 Apr 2008 16:00:31 -0400


On Thu, Apr 3, 2008 at 3:32 PM, John Hascall <john@iastate.edu> wrote:
>
>  > >> Since the file server has no way of knowing if the file is still in
>  > >> use it can't delete it.
>
>  > >    Why not?  Is there no way for the file server to query the
>  > >    cache manager and ask?
>
>  > The fact that the file is considered temporary is only known to the
>  > client.
>
>      And to salvager :)
>
>      So, the client has opened the file.  Doesn't this mean the
>      the fileserver has a callback for this file/client?  Then
>      the fileserver sees a RENAME op to the magic .__afsNNNN
>      name.  Seems to me like it might be possible to pervert
>      the callback to check up on the client/file.

Yuck. No.

Our hit squads are on the way now. Stay right there, ok?