From owner-freebsd-fs Sun Sep 13 00:02:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28482 for freebsd-fs-outgoing; Sun, 13 Sep 1998 00:02:03 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA28471 for ; Sun, 13 Sep 1998 00:02:01 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id AAA01709 for ; Sun, 13 Sep 1998 00:01:44 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id AAA29180 for ; Sun, 13 Sep 1998 00:01:43 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id AAA22846 for freebsd-fs@freebsd.org; Sun, 13 Sep 1998 00:01:42 -0700 (PDT) Date: Sun, 13 Sep 1998 00:01:42 -0700 (PDT) From: Don Lewis Message-Id: <199809130701.AAA22846@salsa.gv.tsc.tdk.com> To: freebsd-fs@FreeBSD.ORG Subject: vm system interaction with nullfs Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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? Unless this works right, it looks like you'll end up with multiple copies of the same disk blocks in memory and in memory copies may all be different. It would seem that in the case of nullfs and similar transparent filesytems, the vm system should always use the lowest vnode, but this doesn't seem to be implemented (though I could just be getting lost in the maze of twisty little passages). It's even messier if the layer isn't transparent, like an encryption layer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message