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?


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

Reply via email to