From owner-freebsd-hackers Sun May 17 20:42:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA23103 for freebsd-hackers-outgoing; Sun, 17 May 1998 20:42:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA23079 for ; Sun, 17 May 1998 20:42:29 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id VAA05457; Sun, 17 May 1998 21:42:25 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA22777; Sun, 17 May 1998 21:42:24 -0600 Date: Sun, 17 May 1998 21:42:24 -0600 Message-Id: <199805180342.VAA22777@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: John Polstra , hackers@FreeBSD.ORG Subject: Re: nfs exported FreeBSD cvs repository, mounted on client, update problems In-Reply-To: <199805180210.TAA05964@antipodes.cdrom.com> References: <199805172208.PAA07702@austin.polstra.com> <199805180210.TAA05964@antipodes.cdrom.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How difficult would it be for CVSup to lock the entire repository while > it's running? Is it worth the effort? Easy, but expensive, since CVS doesn't use a global lock for all commits. It would have to lock every directory in the entire tree down, something CVS isn't willing to do. However, as time and millions of commits have proven, not 'global' locking the tree down *rarely* (< .001%) causes any problems. Terry will pipe up now and try to get us to optimize the rare case, but as any good engineer nows that penalizes the standard case for the rare case is always a bad idea. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message