From owner-freebsd-arch@FreeBSD.ORG Thu Oct 22 15:02:21 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26C27106566B for ; Thu, 22 Oct 2009 15:02:21 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id CBE8D8FC0C for ; Thu, 22 Oct 2009 15:02:20 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEADcK4EqDaFvK/2dsb2JhbADbaYQ/BA X-IronPort-AV: E=Sophos;i="4.44,605,1249272000"; d="scan'208";a="50842696" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 22 Oct 2009 10:33:05 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id AD3DA109C2FE; Thu, 22 Oct 2009 10:33:05 -0400 (EDT) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QrJ7Tzq0mbET; Thu, 22 Oct 2009 10:33:05 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 159CA109C271; Thu, 22 Oct 2009 10:33:05 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n9MEdwY02479; Thu, 22 Oct 2009 10:39:58 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Thu, 22 Oct 2009 10:39:58 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Bruce Evans In-Reply-To: <20091022182943.P13634@delplex.bde.org> Message-ID: References: <200910191634.30040.jhb@freebsd.org> <20091022182943.P13634@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: arch@freebsd.org Subject: Re: Put a timeout on -ve name cache entries in NFS X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 15:02:21 -0000 On Thu, 22 Oct 2009, Bruce Evans wrote: > > One reason that I never committed my port of NetBSD's implementation of > negative cache entries for nfs is that I thought the timeout should be > a mount option but I didn't want to deal with the portability problems > from that. > Just to clarify. Are you saying that, given no other system has such a mount option, you think the sysctl variable is an ok solution or that you think it should be a mount option and not a sysctl variable? I'll admit that I'm biased because the sysctl variable is easier to do (and I don't think many people will need to twiddle it). I suggested it to John, mostly so that there was a way of disabling the -ve name caching, for the rare case where it might be causing someone grief. (That's what I think he meant by "safety belt".) rick