Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757688Ab3FFDs7 (ORCPT ); Wed, 5 Jun 2013 23:48:59 -0400 Received: from ipmail04.adl6.internode.on.net ([150.101.137.141]:51496 "EHLO ipmail04.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756409Ab3FFDs4 (ORCPT ); Wed, 5 Jun 2013 23:48:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMMAEkGsFF5LKX1/2dsb2JhbABZgwm6QIUrBAF9F3SCIwEBBTocIxAIAxgJJQ8FJQMhE4gMvC8WjXiBHQeDWwOXPpFBgyEq Date: Thu, 6 Jun 2013 13:48:32 +1000 From: Dave Chinner To: Andi Kleen Cc: "J. Bruce Fields" , Waiman Long , Alexander Viro , Jeff Layton , Miklos Szeredi , Ian Kent , Sage Weil , Steve French , Trond Myklebust , Eric Paris , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, autofs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH 0/3 v3] dcache: make it more scalable on large system Message-ID: <20130606034832.GV29338@dastard> References: <1369273048-60256-1-git-send-email-Waiman.Long@hp.com> <20130523094201.GA24543@dastard> <519E8B5F.3080905@hp.com> <20130527020903.GR29466@dastard> <51A624E2.3000301@hp.com> <20130529184640.GA3243@fieldses.org> <20130529203700.GM6123@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130529203700.GM6123@two.firstfloor.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 689 Lines: 22 On Wed, May 29, 2013 at 10:37:00PM +0200, Andi Kleen wrote: > > As Dave said before, is the last path component sufficient? Or how > > about an inode number? > > Neither works, the profiler needs to find the file and read it. > > inode searching would be incredible expensive, unless the file system > provided a "open-by-inode" primitive That's effectively what fs/fhandle.c gives you. Cheers, Dave. -- Dave Chinner david@fromorbit.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/