On 9/11/06, Jeffrey Hutzelman <[EMAIL PROTECTED]> wrote:


On Monday, September 11, 2006 12:45:40 PM -0400 Tom Keiser
<[EMAIL PROTECTED]> wrote:

> As it turns out, the way we use file locks in the volume package is
> quite broken.  The spec says that once a process closes *any* file
> descriptor, all fcntl locks held for that file are immediately
> destroyed.  This means that the pthread fileserver/volserver can have
> some interesting races given how the ih package fd cache allows
> multiple concurrent descriptors per inode handle.  I have sample code
> sitting around somewhere which demonstrates this fault.

Do we ever acquire file locks on files other than the link table?
If so, why?




Namei link counts are the only usage I'm aware of (aside from the
salvager and partition lockfiles, obviously).

-Tom
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to