Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 1997 20:43:01 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        roberto@keltia.freenix.fr (Ollivier Robert)
Cc:        current@FreeBSD.ORG
Subject:   Re: nullfs & current
Message-ID:  <199710200143.UAA05747@dyson.iquest.net>
In-Reply-To: <19971019233243.25894@keltia.freenix.fr> from Ollivier Robert at "Oct 19, 97 11:32:43 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Ollivier Robert said:
> 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 ?
> 
nullfs should really share the VM object with the lower filesystem, but generally
what you say is true, even if you don't share the object.  The complexity is
one reason that I haven't fixed it.  It IS fixable reasonably though.


-- 
John
dyson@freebsd.org
jdyson@nc.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710200143.UAA05747>