lkml.org 
[lkml]   [1998]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NFS file locking broken (take 2)


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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.062 / U:1.116 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site