From owner-freebsd-current Sun Oct 19 14:37:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA03379 for current-outgoing; Sun, 19 Oct 1997 14:37:09 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA03320 for ; Sun, 19 Oct 1997 14:35:56 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id XAA26162 for ; Sun, 19 Oct 1997 23:35:10 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.6/brasil-1.2) with UUCP id XAA09202 for current@FreeBSD.ORG; Sun, 19 Oct 1997 23:35:01 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.7/keltia-2.11/nospam) id XAA03650; Sun, 19 Oct 1997 23:32:43 +0200 (CEST) (envelope-from roberto) Message-ID: <19971019233243.25894@keltia.freenix.fr> Date: Sun, 19 Oct 1997 23:32:43 +0200 From: Ollivier Robert To: current@FreeBSD.ORG Subject: Re: nullfs & current References: <19971019221425.28468@keltia.freenix.fr> <199710192121.QAA05089@dyson.iquest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <199710192121.QAA05089@dyson.iquest.net>; from John S. Dyson on Sun, Oct 19, 1997 at 04:21:15PM -0500 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3745 AMD-K6 MMX @ 208 MHz Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to John S. Dyson: > The VM system holds a reference. You have to do a vnode_pager_uncache when > deleting a file. Wait... Isn't ufs_remove() supposed to do that ? ufs_remove() is called by null_bypass() by an indirect call (VCALL()) and it seemed safe to consider that the lower level was supposed to DTR. Do I have to create a null_remove() function in order to call vnode_pager_uncache inside it ? -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #41: Sat Oct 18 18:47:01 CEST 1997