Matthew,

                I just noticed this message from you listed in
Linux Weekly News :

"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. Samba keeps a list of open fds which
are not currently in use on any locked file to work around this
stupidity in the spec. I'd like the external interface to this
to be fcntl(F_SETLK_NP) and F_SETLKW_NP. Clearly F_GETLK does not
need to be altered or replaced."

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 !

Thanks a *lot*,

                Jeremy Allison,
                Samba Team.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to