From owner-freebsd-fs Wed Aug 7 21:58:19 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 F227B37B400 for ; Wed, 7 Aug 2002 21:58:16 -0700 (PDT) Received: from gateway.posi.net (adsl-63-201-90-187.dsl.snfc21.pacbell.net [63.201.90.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FE8743E3B for ; Wed, 7 Aug 2002 21:58:16 -0700 (PDT) (envelope-from kbyanc@posi.net) Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.5/8.12.5) with ESMTP id g784vgq4000681; Wed, 7 Aug 2002 21:57:43 -0700 (PDT) (envelope-from kbyanc@posi.net) Date: Wed, 7 Aug 2002 21:57:42 -0700 (PDT) From: Kelly Yancey To: Terry Lambert Cc: "David E. Cross" , , Subject: Re: vnodes (UFS journaling)? In-Reply-To: <3D51BE6F.298F0AF@mindspring.com> Message-ID: <20020807214625.C667-100000@gateway.posi.net> 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 Wed, 7 Aug 2002, Terry Lambert wrote: > Kelly Yancey wrote: > > > > I believe he is trying to keep a journal, likely as a file on the > > filesystem that is being journalled. I don't actually know, but that's > > what I would guess. > > I understand that he's working on a journalling FS. > > I'm wondering what reaccessing vnodes has to do with journalling? > > A vnode is an in-core abstract representation of a file in > a file system, that has a non-abstract real file association > in the FS itself. A vnode doesn't know about the journalling > taking place in the underlying FS -- and *shouldn't* know > about it. The VFS interface layer is intended as a method of > abstracting *exacly* this sort of implementation detail. > [ snip ] Yeah, I've read the Red Book too. :) I would guess that the vnode in question is the vnode representing the journal file itself. How you journal filesystem operations to a file on that very filesystem is beyond me, but I'm sure the bright boys at RPI have figured it out...barring the problem that David wrote -fs about and which we have conveniently neglected to answer. :) Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} "No nation is permitted to live in ignorance with impunity." -- Thomas Jefferson, 1821. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message