From: "Muntz, Daniel" Subject: RE: [PATCH 2/3] NFS: Add NFS_MOUNT_NONEGDE flag to avoid caching negative dentries Date: Wed, 16 Jan 2008 11:43:53 -0800 Message-ID: <01AE8AF878612047A442668306EAEB05018178E7@SACEXMV01.hq.netapp.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "Bob Bell" , "Chuck Lever" , "NFS list" To: "Steve Dickson" , "Trond Myklebust" Return-path: Received: from mx2.netapp.com ([216.240.18.37]:11014 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbYAPTnz convert rfc822-to-8bit (ORCPT ); Wed, 16 Jan 2008 14:43:55 -0500 In-reply-to: <478DFD5A.1040501-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: My $.02 -odircache=on -odircache=hitsonly (or positive, or hits, or ?) -odircache=off -----Original Message----- From: Steve Dickson [mailto:SteveD@redhat.com] Sent: Wednesday, January 16, 2008 4:50 AM To: Trond Myklebust Cc: Bob Bell; Chuck Lever; NFS list Subject: Re: [PATCH 2/3] NFS: Add NFS_MOUNT_NONEGDE flag to avoid caching negative dentries Trond Myklebust wrote: > On Tue, 2008-01-15 at 20:22 -0500, Bob Bell wrote: >>>> How about something like 'cacheneglookup' 'nocacheneglookup'? >>>> Better suggestions, anyone? >> As long as no one objects to the length, I'll go with "nocacheneglookup" >> (and NFS_MOUNT_NOCACHENEGLOOKUP, I suppose) for round 2. > > I'm still not happy with that name. What do people think about > introducing a generic 'cache' option that can be used for fine control > of caching options? > > I'm thinking somewhat along the lines of > > -ocache=lookup_all /* Cache all dentries */ > -ocache=lookup_positive /* Cache positive dentries */ > -ocache=lookup_none /* Force all lookups */ Maybe we should define the type of cache were are controlling, in case we want to add controls for other caches. So how about: -olpcache=all /* Cache all directory entries */ -olpcache=found /* Cache only directory entires that are found */ -olpcache=off /* Turn off the caching of directory entries */ steved. - To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html