From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 4/4] dcache: don't clear DCACHE_DISCONNECTED too early Date: Sat, 12 Oct 2013 01:42:35 -0700 Message-ID: <20131012084235.GB5649@infradead.org> References: <1378579561-26868-1-git-send-email-bfields@redhat.com> <1378579561-26868-5-git-send-email-bfields@redhat.com> <20130909004647.GK13318@ZenIV.linux.org.uk> <20130909204655.GA10599@fieldses.org> <20131011160237.GA21258@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , "J. Bruce Fields" , linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Christoph Hellwig To: "J. Bruce Fields" Return-path: Content-Disposition: inline In-Reply-To: <20131011160237.GA21258-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Oct 11, 2013 at 12:02:37PM -0400, J. Bruce Fields wrote: > But just for fun--I did some cleanup and fixed some other quadratic > behavior here and can notice a difference on lookups of very deep > subdirectories. > > For example I'm seeing an uncached lookup of an 8000-deep directory > taking about 6 seconds, and can get that down to a tenth of a second. > > I'm not sure yet if the difference on less extreme examples is really > significant, I need to experiment some more. > > I'll do some more review and post patches and results. This sounds like and awesome improvement. How much code do you have to add for it? -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html