From owner-freebsd-current Wed Feb 25 23:26:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA06499 for freebsd-current-outgoing; Wed, 25 Feb 1998 23:26:20 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA06494 for ; Wed, 25 Feb 1998 23:26:18 -0800 (PST) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id AAA15082; Thu, 26 Feb 1998 00:26:11 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp01.primenet.com, id smtpd015067; Thu Feb 26 00:26:05 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id AAA26006; Thu, 26 Feb 1998 00:26:01 -0700 (MST) From: Terry Lambert Message-Id: <199802260726.AAA26006@usr08.primenet.com> Subject: Re: Build still broken - NOT! - Oh yes it is (was) To: mark@vmunix.com (Mark Mayo) Date: Thu, 26 Feb 1998 07:26:00 +0000 (GMT) Cc: Matthew.Thyer@dsto.defence.gov.au, perlsta@cs.sunyit.edu, current@FreeBSD.ORG In-Reply-To: <19980226000847.50861@vmunix.com> from "Mark Mayo" at Feb 26, 98 00:08:47 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Well, I've personaly given Terry's patches a whirl and they seemed > to fix up a lot of locking problems with my 3.0-CURRENT NFSv3 > cliient. I test against an Auspex filer. This is a false sense of security you're getting here. The locks are locally asserted. As I said in another posting, inter-client locking won't work (ie: you're locks will be granted, even if another NFS client thinks it holds them) because they aren't proxied to the server. I've only got one collision domain implemented here, and then only as a preparation for rpc.statd to tell me the NFS server rebooted and I need to recreate the locks (locks held by processes on files where the lock can't be reasserted should actually get ESTALE on access attempts, I think, to be safe). In other words, they are necessary, but not sufficient for a full NFS client locking fix. > I haven't tried mounting both /usr/src and /usr/obj from the NFS > server, but I have successfully built the world with a /usr/src > NFS mounted. The majority of current NFS problems are "write"-based. You wouldn't see improvement in anything but locking tests run on one client against the server (but in that case, it would look like it's working). > I don't know if Terry's patches would help you since I belive it > was mostly just to implement locking correctly (I think), but it > may be worth trying out for a comparison if your latest cvsup > still barfs. http://www.freebsd.org/~terry for the patches. The more testers, the merrier. But I'm already confident from the people who've run it so far that I'm not leaking memory, and that the lock states are held correctly before and after the coelesce, and the lock problems and the write problems are two different animals (John Dyson hinted that he may be jumping into this arena soon, now that he has time). If you commit the patches, do it for what they do, not for what they don't do. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message