xfs
[Top] [All Lists]

Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache

To: Barry Naujok <bnaujok@xxxxxxx>
Subject: Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 15 May 2008 00:57:00 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, aia21@xxxxxxxxxx
In-reply-to: <op.ua4wa7t03jf8g2@pc-bnaujok.melbourne.sgi.com>
References: <20080513075749.477238845@chook.melbourne.sgi.com> <20080513080152.911303131@chook.melbourne.sgi.com> <20080513085724.GC21919@infradead.org> <op.ua4wa7t03jf8g2@pc-bnaujok.melbourne.sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
On Wed, May 14, 2008 at 05:55:45PM +1000, Barry Naujok wrote:
> Not quite sure if this is the right test, but I did 1000 creates on
> a brand new filesystem with and without ci on my SATA drive, both
> sustained almost 600 creates per second.
>
> I believe creates would be the worst case scenario for not adding
> negative dentries?

No, negative dentries shouldn't have any effect on that.  negative
entries help to optimize away lookups.  E.g. thing of the PATH variable
and say your shell is not in the first directory listed there.  Having
a negative dentry for it means that you don't have to do a lookup in
the first directories everytime someone wants to use the shell.


<Prev in Thread] Current Thread [Next in Thread>