| To: | Barry Naujok <bnaujok@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache |
| From: | Anton Altaparmakov <aia21@xxxxxxxxx> |
| Date: | Thu, 15 May 2008 14:43:44 +0100 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx> |
| In-reply-to: | <op.ua6ji4r93jf8g2@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> <20080515045700.GA4328@infradead.org> <op.ua6ji4r93jf8g2@pc-bnaujok.melbourne.sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
Hi, On 15 May 2008, at 06:14, Barry Naujok wrote: On Thu, 15 May 2008 14:57:00 +1000, Christoph Hellwig <hch@xxxxxxxxxxxxx > wrote: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. 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. Failure to do so will result in lookups returning ENOENT even though a file now exists that matches case insensitively. This happens because the VFS will find the negative dentry and return ENOENT without calling the file system lookup method thus the file system does not get a chance to discover the new matching directory entry... Best regards, Anton -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer, http://www.linux-ntfs.org/ |
| Previous by Date: | Re: VFS case-insenstive dcache code (was Re: [PATCH 0/4] XFS: ASCII case-insensitivity support), Anton Altaparmakov |
|---|---|
| Next by Date: | Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache, Barry Naujok |
| Next by Thread: | Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |