Re: NFS file locking broken (take 2)

Steven N. Hirsch (shirsch@adelphia.net)
Sun, 23 Aug 1998 12:12:57 -0400 (EDT)


On Sun, 23 Aug 1998, Alan Cox wrote:

> > > - Is this expected?
> > > - Can it be fixed?
> >
> > Well, it's not completely fixed. Locking between two processes on the
> > same client works, but processes on other _clients_ also fail to see them
> > :-(.
>
> Let me check one thing here. Are you using lockf/posix locks or flock.
> flock is generally host local.

Damn. I never thought about that. Just checked config.h in my Perl build
directory, and under Linux it uses flock(). What threw me is that this
works fine under AIX 4.1.x with both AFS and NFS v3 mounts. I'll log into
my box at work and find out what AIX perl actually translates 'flock'
into. We use locking between TclX and Perl code all the time without
problems...

Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html