nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Locking. Horrible, horrible, locking ...


From: heymanj
Subject: Re: [Nmh-workers] Locking. Horrible, horrible, locking ...
Date: Sun, 30 Jun 2013 21:14:16 -0400

On 30 June 2013 at 20:50, Ken Hornstein <address@hidden>wrote:

> >> But I'll give you a concrete example: the filesystem that I use for
> >> $HOME only works right if you use lockf(), but that's a lousy choice
> >> in general.
> >
> >Yes! That's exactly what I was asking for.  What is the filesystem?
> >What is the OS?  What is the broken behaviour of fcntl/flock/whatever
> >that required you to use lockf()?  Details!!!  (Please?)
> 
> The filesystem in question is AFS (the behavior is uniform across all
> platforms).  Short answer is that AFS doesn't support byte-range locking,
> so lock calls that aren't lockf() are ignored.
> 
> Although ... it looks like a newer version of AFS might support that;
> I'm not sure we've upgraded everything here to take advantage of it yet.
> 
> --Ken

Ken,

I assume you mean 

http://help.unc.edu/help/afs-file-locking-issue/

each user would have to enable the 'k' acl for the directories that are
meant to be locked.  While I *loved* AFS when I was using it daily, there
were some quirks (locking was one of them) that we had to get around.

jerry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]