From owner-freebsd-fs Fri Oct 2 04:12:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA07156 for freebsd-fs-outgoing; Fri, 2 Oct 1998 04:12:27 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA07040 for ; Fri, 2 Oct 1998 04:12:15 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id NAA28899; Fri, 2 Oct 1998 13:11:53 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA11739; Fri, 2 Oct 1998 13:11:52 +0200 (MET DST) Message-ID: <19981002131152.26322@follo.net> Date: Fri, 2 Oct 1998 13:11:52 +0200 From: Eivind Eklund To: Don Lewis , Terry Lambert Cc: freebsd-fs@FreeBSD.ORG Subject: Re: vm system interaction with nullfs References: <199810020933.CAA15261@salsa.gv.tsc.tdk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199810020933.CAA15261@salsa.gv.tsc.tdk.com>; from Don Lewis on Fri, Oct 02, 1998 at 02:33:42AM -0700 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Oct 02, 1998 at 02:33:42AM -0700, Don Lewis wrote: > On Sep 13, 10:43pm, Terry Lambert wrote: > } Subject: Re: vm system interaction with nullfs > } > Since the vm system keeps track of what it has in memory by (vnode, offset), > } > how is this supposed to work when stackable filesystems are in use which > } > create multiple vnodes for a single filesytem object, or is this broken? > } > } Yes, this is still broken. > } > } This was the primary reason for the migration of a putpages/getpages > } into all "bottom-of-stack" FS's. > } > } The general fix is to create a "getfinalvp". This would allow you > } to page through an object, while allowing layers stacked on top to > } dictate layout/content. > > I started down this path and created VOP_GETBACKINGVP. This part was > pretty easy. The problem is that there are a zillion references to > vp->v_object all over the place that would need to be fixed. "A zillion" == 63. Interesting. I've always wondered what exact number it represents :-) Fixing these are trivial. I can do that in (much) less than an hour, if there is general agreement that this is the way to go (I think it sound reasonable). This time I want bde's word he won't veto as I'm about to commit it, though. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message