Date: Thu, 4 Mar 2004 09:34:10 +1100 From: Tim Robbins <tjr@freebsd.org> To: "David E. Cross" <crossd@cs.rpi.edu> Cc: freebsd-fs@freebsd.org Subject: Re: struct buf * and journaled-UFS help Message-ID: <20040303223410.GA65322@cat.robbins.dropbear.id.au> In-Reply-To: <1078352449.454.14.camel@rexx.cs.rpi.edu> References: <11001.1078350671@critter.freebsd.dk> <1078352449.454.14.camel@rexx.cs.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 03, 2004 at 05:20:51PM -0500, David E. Cross wrote: > Well, I can agree with that.... Now, "how" do I get a struct buf *? Generally, bread() or getblk() on a vnode. The vnode can either be that of the underlying special device (um_devvp), or, if your journal is going to appear as a file on disk, that file's vnode (use VFS_VGET() if the inode number is fixed, or namei() if it isn't.) Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040303223410.GA65322>