From owner-freebsd-hackers Wed May 15 0:11: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from frontend2.aha.ru (bird.zenon.net [213.189.198.215]) by hub.freebsd.org (Postfix) with ESMTP id 4B38137B406 for ; Wed, 15 May 2002 00:10:56 -0700 (PDT) Received: from [195.2.83.130] (HELO backend2.aha.ru) by frontend2.aha.ru (CommuniGate Pro SMTP 3.5.9) with ESMTP id 119462938; Wed, 15 May 2002 11:10:54 +0400 Received: from uitm.zenon.net ([195.2.69.86] verified) by backend2.aha.ru (CommuniGate Pro SMTP 3.5.9) with ESMTP id 19871081; Wed, 15 May 2002 11:10:54 +0400 From: Andrey Alekseyev Message-Id: <200205150710.g4F7AsJ19533@uitm.zenon.net> Subject: Re: File locking, closes and performance in a distributed file systemenv In-Reply-To: <3CE1A9A0.A15C42B9@mindspring.com> from Terry Lambert at "May 14, 2002 05:19:44 pm" To: Richard Sharpe Date: Wed, 15 May 2002 11:10:54 +0400 (MSD) Cc: Terry Lambert , freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Btw, Terry's implementation of this ported to 4.5-STABLE could be found here: http://www.blackflag.ru/patches/nfs-client-and-server-locking-4.5-STABLE-20020312.diff I've been testing it continuously for a month or so with an NFS server on Solaris. Particularly, that was a combination of Connectathon NFS Testsuite and several hundred of Perl scripts doing flock on a remote and local files. So far found no problems with that. :) JFYI > I've actually wanted the VOP_ADVLOCK to be veto-based for going > on 6 years now, to avoid precisely the type of problems your are > now facing. If the upper layer code did local assertion on vnodes, > and called the lower layer code only in the success cases, then the > implementation would actually be done for you already. > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- Andrey Alekseyev. Zenon N.S.P. Senior Unix systems administrator To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message