NetBSD Problem Report #47022

From campbell@mumble.net  Sun Sep 30 21:18:13 2012
Return-Path: <campbell@mumble.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id E329363E05B
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 30 Sep 2012 21:18:12 +0000 (UTC)
Message-Id: <20120930211748.84079604ED@jupiter.mumble.net>
Date: Sun, 30 Sep 2012 21:17:48 +0000 (UTC)
From: Taylor R Campbell <campbell+netbsd@mumble.net>
Reply-To: Taylor R Campbell <campbell+netbsd@mumble.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: namecache is confused, particularly for rename and rmdir
X-Send-Pr-Version: 3.95

>Number:         47022
>Category:       kern
>Synopsis:       namecache is confused, particularly for rename and rmdir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 30 21:20:01 +0000 2012
>Originator:     Taylor R Campbell <campbell+netbsd@mumble.net>
>Release:        NetBSD 6.99.11
>Organization:
>Environment:
Architecture: i386
Machine: i386
>Description:

	The rules for using the namecache are not clear, every file
	system's rename vop will cache_purge different sets of vnodes
	under different sets of conditions none of which is obviously
	correct, we probably overzealously clear the cache in various
	circumstances, and the whole thing shouldn't have its tendrils
	in the file systems at all anyway.

>How-To-Repeat:

	Code inspection.

>Fix:

	Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.