Messages in this thread | | | Date | Mon, 24 Aug 1998 22:51:52 -0400 (EDT) | From | "Steven N. Hirsch" <> | Subject | NFS looking good! |
| |
All,
On Mon, 24 Aug 1998, Bill Hawes wrote:
> > 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. > > Both patches fix the problem -- the immediate problem was that a pointer > to non-allocated memory was being freed, and allocated memory wasn't > being freed. I made additional changes to simplify the grantargs code. > > The lockd code as written could never have worked, so apparently the > server-side locking has had little or no testing.
Currently, I am running 2.1.117 with the following patches:
- ac1 - hj's '2.1.111' diffs from knfsd-980820 (small fix for 2.1.117) - Bill Hawes' patch of 8/23 - hj's rpcsvc patch of 8/24 (less a small overlap with Bill's fix) - Trond Myklebust's patch to nfs/write.c (in Alan's ac2)
After much pounding, it looks great! The locking is troublefree with any and all scenarios I've tried. No application oopses. The cryptic log messages about 'svc <15>' are gone.
I did have one hard lockup on my PPro SMP box as client. While using 'cp -av' to make a recursive copy of the source tree from the server, it went down with no fanfare. No log entries, no error messages. Naturally, I was then unable to repeat it...
Here are some log entries from the server - not sure if they are serious or not (though the Aiee does not give me warm fuzzies):
Aug 24 20:45:36 cy kernel: nlmclnt_freegrantargs: rqst=c396d208, caller=c01f19f5, owner=c396d304, oh_data=c396d304 Aug 24 20:46:06 cy last message repeated 6 times Aug 24 20:46:46 cy last message repeated 8 times Aug 24 20:47:44 cy kernel: iput: Aieee, semaphore in use device 08:15, count=6 Aug 24 20:47:59 cy kernel: nlmclnt_freegrantargs: rqst=c396d408, caller=c01f19f5, owner=c396d504, oh_data=c396d504 Aug 24 20:48:39 cy last message repeated 4 times Aug 24 20:49:29 cy last message repeated 5 times Aug 24 20:56:00 cy kernel: iput: Aieee, semaphore in use device 08:15, count=26 Aug 24 22:24:46 cy kernel: nlmclnt_freegrantargs: rqst=c396d408, caller=c01f19f5, owner=c396d504, oh_data=c396d504 Aug 24 22:25:21 cy last message repeated 7 times Aug 24 22:26:16 cy last message repeated 11 times Aug 24 22:26:21 cy kernel: nlmclnt_freegrantargs: rqst=c396d008, caller=c01f19f5, owner=c396d104, oh_data=c396d104 Aug 24 22:26:58 cy last message repeated 3 times Aug 24 22:27:48 cy last message repeated 5 times
One last wish-list item. It would be great if kexportfs accepted domain wildcards like the user nfs server. It's a great pain having to specifically list all potential client boxes.
I'll keep beating on it and report any repeatable 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
| |