From owner-freebsd-fs Wed Aug 7 22:54:37 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EE6C37B400 for ; Wed, 7 Aug 2002 22:54:34 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 209E743E5E for ; Wed, 7 Aug 2002 22:54:34 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id E9534AE03F; Wed, 7 Aug 2002 22:54:33 -0700 (PDT) Date: Wed, 7 Aug 2002 22:54:33 -0700 From: Alfred Perlstein To: Scott Long Cc: Kelly Yancey , Terry Lambert , "David E. Cross" , fs@freebsd.org, guptar@cs.rpi.edu Subject: Re: vnodes (UFS journaling)? Message-ID: <20020808055433.GG10953@elvis.mu.org> References: <3D51BE6F.298F0AF@mindspring.com> <20020807214625.C667-100000@gateway.posi.net> <20020808052109.GC47545@hollin.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020808052109.GC47545@hollin.btc.adaptec.com> User-Agent: Mutt/1.3.27i 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 * Scott Long [020807 22:25] wrote: > > I'll chime in and say that, as much as it pains me to admit, Terry is > right =-). Manipualting the journal file from the vnode layer is > the wrong way to go about this. However, if you want to push forward > in a quick-n-dirty manner right now, you could probably hack up > ufs_lookup() to not return a vnode for the journal file. Then you > can keep your reference on the vnode and not worry about contention. This is incorrect. UFS snapshots return vnodes for the snapshot files, it's just that the UFS code makes sure no one can write to these special files. To all those involved, if you want to help, please UTSL before leading people astray. :( -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message