From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache Date: Thu, 15 May 2008 10:11:21 -0400 Message-ID: <20080515141121.GA14198@infradead.org> References: <20080513075749.477238845@chook.melbourne.sgi.com> <20080513080152.911303131@chook.melbourne.sgi.com> <20080513085724.GC21919@infradead.org> <20080515045700.GA4328@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Barry Naujok , Christoph Hellwig , xfs@oss.sgi.com, linux-fsdevel To: Anton Altaparmakov Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:33291 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751551AbYEOOLX (ORCPT ); Thu, 15 May 2008 10:11:23 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, May 15, 2008 at 02:43:44PM +0100, Anton Altaparmakov wrote: > Yes, and you can get the performance back if you allow negative dentries to > be created. You just have to make sure that every time a directory entry > is created in directory X, all negative dentries which are children of > directory X are thrown away. We might even be able to optimize this a little by calling d_compare on each alias to see if it hashes down to the same one down in the fs.