On Thu, May 03, 2001 at 12:19:31AM -0700, Jeremy Allison wrote:
> > I want to add another byte-range lock, which looks and smells like a
> > POSIX fcntl lock except that it is not removed by closing any fd which
> > happens to be open on this file.
>
> If you do this I'll be eternally in your debt ! I had to
> write that code for Samba 2.2 and it was a *horrible*
> experience. With non-broken locking we can #ifdef out
> via autoconf a large chunk of code from the Linux Samba
> implementation, and free up fd's immediately on close.
>
> As soon as you have any prototypes of this please let
> us know on the [EMAIL PROTECTED] list - I'd
> like to try it asap !
I'll get to it this weekend then. Should be a relatively simple patch.
Are there any other semantics you want changing from the POSIX lock?
I'm thinking of removing deadlock detection, for one...
--
Revolutions do not require corporate support.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]