Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 1996 14:51:49 +0100 (BST)
From:      Doug Rabson <dfr@render.com>
To:        fs@freebsd.org, lite2@freebsd.org
Subject:   vnode_pager_uncache()
Message-ID:  <Pine.BSF.3.95.960923144508.11343N-100000@minnow.render.com>

next in thread | raw e-mail | index | archive | help
I want to add a struct proc* argument to this call.  The reason is that
lite2 has a struct proc* argument to vn_lock/VOP_UNLOCK and panics if the
wrong process unlocks a vnode.  This causes trouble for the odd cases like
shutdown where a process other than curproc is given to the filesystem
since vnode_pager_uncache needs to manipulate the vnode lock sometimes.

I can hack around it by ignoring the passed proc and substituting curproc
in the places which matter but the right thing to do is for
vnode_pager_uncache to use the correct proc.

--
Doug Rabson, Microsoft RenderMorphics Ltd.	Mail:  dfr@render.com
						Phone: +44 171 734 3761
						FAX:   +44 171 734 6426




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960923144508.11343N-100000>