From: Chuck Lever Subject: Re: [PATCH 2/3] NFS: Add NFS_MOUNT_NONEGDE flag to avoid caching negative dentries Date: Wed, 16 Jan 2008 17:09:35 -0500 Message-ID: <30593E98-7C5B-4841-94E2-40E7CD7D4857@oracle.com> References: <20080115163013.GC18911@newbie.thebellsplace.net> <1200415972.7702.7.camel@heimdal.trondhjem.org> <20080116012209.GB26010@newbie.thebellsplace.net> <1200451350.28088.43.camel@heimdal.trondhjem.org> <478DFD5A.1040501@RedHat.com> <01AE8AF878612047A442668306EAEB05018178E7@SACEXMV01.hq.netapp.com> <1200516219.6932.22.camel@heimdal.trondhjem.org> <478E7345.8080003@cypress.com> <1200520574.15282.24.camel@heimdal.trondhjem.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Cc: NFS list To: Trond Myklebust Return-path: Received: from agminet01.oracle.com ([141.146.126.228]:10946 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926AbYAPWKZ (ORCPT ); Wed, 16 Jan 2008 17:10:25 -0500 In-Reply-To: <1200520574.15282.24.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Jan 16, 2008, at 4:56 PM, Trond Myklebust wrote: > On Wed, 2008-01-16 at 13:12 -0800, Risto Bell wrote: >> Already decided not to go the distance, with separate controls of >> time-to-live of positive and negative lookup cache entries (or is it >> not considered good form to overload negttl=0 as means to disable)? > > We don't have a time-to-live scheme for dentries. Adding a TTL heuristic to dentry revalidation might help our directory mtime problem. :-) -- Chuck Lever chuck[dot]lever[at]oracle[dot]com