[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: NFS file locking broken (take 2)

On Sun, 23 Aug 1998, H. J. Lu wrote:

> > Alan asked:
> >
> > > Let me check one thing here. Are you using lockf/posix locks or flock.
> > > flock is generally host local.
> >
> > I went back to square one and rebuilt kernels on both machines using
> > 2.1.117 with ac1 + hj's patches from the 8/20 knfsd utils package.
> >
> > I used the attached C program to ensure that fcntl() semantics were being

> > applied. After verifying that the test script worked properly on local
> > storage, I tried running it on an NFS mounted directory.
> >
> > Here's what transpires (100% repeatable):
> >
> lockd is a mess. This patch seems to fix your problem. But I suspect
> there may be more bugs in lockd. If you can show me a testcase, I will
> take a look at it.

Hi hj,

The testcase was attached to my message. Let me know if the mailer
glitched and you failed to receive it?

Bill Hawes posted a patch that seems to alleviate the immediate symptoms.
Can you two gentlemen each take a quick look at what the other has
suggested? I will try hj's patch this evening.

Many, many thanks for your attention to this problem!


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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