Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 1995 12:08:50 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, terry@cs.weber.edu
Cc:        current@FreeBSD.org, dyson@FreeBSD.org
Subject:   Re: Disappearing space in root fs.
Message-ID:  <199502280108.MAA23667@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> fsck tells me that vipw unlinks the previous copies pwd.db and spwd.db.
>> ...

>Apparently the cache changes mean that they aren't LRU'ed out.

I think there needs to be a vnode_pager_uncache() in rename or in all
xxx_rename()s.  vp->v_usecount is normally 2 after namei(), one reference
for the lookup and one for the object cache (?).  The vnode_pager_uncache()
call in unlink() normally decreases vp->v_usecount from 2 to 1.

Bruce



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