From owner-freebsd-hackers Mon Jul 27 14:41:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16164 for freebsd-hackers-outgoing; Mon, 27 Jul 1998 14:41:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (root@smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16026 for ; Mon, 27 Jul 1998 14:41:02 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id OAA12601; Mon, 27 Jul 1998 14:32:43 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpdf10903; Mon Jul 27 14:32:23 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id LAA23004; Mon, 27 Jul 1998 11:54:34 -0700 (MST) From: Terry Lambert Message-Id: <199807271854.LAA23004@usr02.primenet.com> Subject: Re: Odd problem we're seeing here To: mike@smith.net.au (Mike Smith) Date: Mon, 27 Jul 1998 18:54:34 +0000 (GMT) Cc: tlambert@primenet.com, karl@mcs.net, hackers@FreeBSD.ORG In-Reply-To: <199807270539.WAA14548@antipodes.cdrom.com> from "Mike Smith" at Jul 26, 98 10:39:05 pm 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > I'm seeing an interesting problem here. > > > > No you're not. You are seeng a problem I already knew about, > > and provided a patch for, but the patch was not checked in by > > anyone (no, not the NFS locking patch; that should be checked > > in, too, though). > > Was this issue ever resolved to your satisfaction? Which issue: the VOP_LEASE issue, or the NFS locking issue? The answer in both cases is "no", but I can't tell from context which one you are talking about. For the lease issue to truly get fixed requires killing vn_rdwr() and calling vn_read() and vn_write(), as appropriate. Then calling VOP_LEASE with the correct arguments on the correct side of a VOP_LOCK. For the NFS locking, I've basically given up on convincing people with the control of the code that moving the lock list to the vnode instead of the inode, and then going veto-based is the way to go. It doesn't seem to matter what I (or John Heidemann) say in this regard, it falls on deaf ears. What I will probably end up doing is, once I finish the stuff at work that I promised myself I'd finish before uncrating my Sun SPARC box, uncrate the box, fully implement the locking so that it interoperates with SunOS, and then put the whole thing up as a mega-patch on a "take it or leave it" basis. PS: It's not necessary to quote the whole article back to me; I save copies of these things for myself. 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-hackers" in the body of the message