Messages in this thread | | | Date | Mon, 24 Aug 1998 07:30:16 -0400 (EDT) | From | "Steven N. Hirsch" <> | Subject | Re: 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!
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
| |