Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 1997 13:37:27 -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:  <199710201837.NAA11707@dyson.iquest.net>
In-Reply-To: <19971020193540.39453@keltia.freenix.fr> from Ollivier Robert at "Oct 20, 97 07:35:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Ollivier Robert said:
> According to Poul-Henning Kamp:
> > calling vnode_pager_uncache() null_remove() would be wrong, the file
> > may still be open.
> 
> Right.
>  
Not quite.

I was wrong there, but the underlying object that is pointed to BOTH the
nullfs layer and the underlying error should have it's reference count
decreased.  If the reference count of the object is ONE, and the VNODE
is referred to only by that object, then the vnode_pager_uncache should
be done. 

Please don't break coherency!!!

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



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