From owner-freebsd-fs Wed Oct 10 11:27:14 2001 Delivered-To: freebsd-fs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id C38A837B401 for ; Wed, 10 Oct 2001 11:27:11 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id f9AIQpB58625; Wed, 10 Oct 2001 14:26:51 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 10 Oct 2001 14:26:50 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Dag-Erling Smorgrav Cc: "David E. Cross" , freebsd-fs@FreeBSD.ORG Subject: Re: OpenAFS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 6 Oct 2001, Dag-Erling Smorgrav wrote: > Robert Watson writes: > > The man pages are not known either for their technical depth, nor (it > > turns out) their correctness. Likewise, the locking statements in > > vnode_if.src were fairly out of sync last I checked. If that's changed, > > and I'm simply dated, I'm delighted to hear that :-). > > Eivind worked very hard to update them a few years ago (when he rewrote > vnode_if.pl from Bourne shell to Perl), and AFAIK they haven't been > subject to change since then. I might be wrong, but I doubt it. It has improved a fair amount from what I remember being there, but the VFS man pages are still quite out of sync. Also, vop_getattr is still recorded as not requiring a lock on the vnode whereas most invocations I've seen do grab the lock. I've often wondered if (in our current locking scheme) in practice it shouldn't be marked as L L L. Also, vnode_if.src helpfully lists a number of possible locking modes that are never used (and that locking scheme isn't designed for) such as shared locking. Some of that should probably be trimmed so as not to be misleading. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message