Date: Tue, 17 Mar 1998 14:40:57 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: Tor Egge <Tor.Egge@idi.ntnu.no> Cc: freebsd-current@FreeBSD.ORG Subject: Re: 4 WILLRELE's to bite the dust Message-ID: <Pine.SV4.3.95.980317143550.8814A-100000@parkplace.cet.co.jp> In-Reply-To: <199803131845.TAA26656@pat.idi.ntnu.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Mar 1998, Tor Egge wrote: > - freeing of resources. When the file is unlinked, the > lower vnode still has a reference from the upper vnode > which is left until the upper vnode is recycled. Currently > null_inactive calls VOP_INACTIVE on the lower vnode. > This is wrong (e.g. a process directly accessing the lower > vnode will see a truncated file, which is an unintended > side effect). > > Symptom: Removing a file that has been opend via nullfs > will not necessarily free the space on the file system > before the null vnode is recycled. So did you delete VOP_INACTIVE(lowervp) from null_inactive and move the vrele to null_inactive from null_reclaim to fix this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980317143550.8814A-100000>