Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760649AbXJYWnk (ORCPT ); Thu, 25 Oct 2007 18:43:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760268AbXJYWnI (ORCPT ); Thu, 25 Oct 2007 18:43:08 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:59731 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760224AbXJYWnF (ORCPT ); Thu, 25 Oct 2007 18:43:05 -0400 Date: Fri, 26 Oct 2007 08:42:35 +1000 From: David Chinner To: Miklos Szeredi Cc: staubach@redhat.com, akpm@linux-foundation.org, hch@infradead.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] VFS: new fgetattr() file operation Message-ID: <20071025224235.GZ995458@sgi.com> References: <471F4254.9040206@redhat.com> <471F5EA2.8060203@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 31 On Wed, Oct 24, 2007 at 05:27:04PM +0200, Miklos Szeredi wrote: > > >> Wouldn't you be better off by attempting to implement an "open > > >> by ino" operation and an operation to get the generation count > > >> for the file and then modifying the network protocol of interest > > >> to use these as identifiers for the file to be manipulated? > > >> > > > > > > You mean an "open by inode" on the userspace API? My guess, it > > > wouldn't get very far. > > > > This isn't a new idea and has been implemented on a variety of > > different systems. > > Like? XFS. 'man open_by_handle' Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group - 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/