From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: Fallthrus as full-length symlinks? Date: Mon, 23 Nov 2009 19:44:19 +0100 Message-ID: <200911231944.20191.arnd@arndb.de> References: <20091117194300.GD17822@shell> <200911172020.nAHKKwww001628@agora.fsl.cs.sunysb.edu> <20091123182644.GA13241@shell> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Erez Zadok , David Woodhouse , linux-fsdevel@vger.kernel.org, Alexander Viro , Jan Blunck , Christoph Hellwig , Andy Whitcroft , Scott James Remnant , Sandu Popa Marius , Jan Rekorajski , "J. R. Okajima" , Vladimir Dronnikov , Felix Fietkau To: Valerie Aurora Return-path: Received: from moutng.kundenserver.de ([212.227.126.187]:62509 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbZKWSoW (ORCPT ); Mon, 23 Nov 2009 13:44:22 -0500 In-Reply-To: <20091123182644.GA13241@shell> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Monday 23 November 2009, Valerie Aurora wrote: > > BTW, we might try to figure out a way to use these symlinks to optimize any > > copyup that's not strictly necessary. A rename() doesn't change the file's > > data, hence this symlink idea is suitable. But also, there are other > > meta-data changes to a file which don't affect its data (chmod, chown, > > chgrp, etc.), for which a symlink would be suitable. This would require > > that we could easily change the meta-data of the symlink itself, and return > > that metadata in the upper inode, while using the lower file's data for > > read(). > > I like this idea. Copying up the file's data in chown(), etc. is an > enormous pain and hard to work into the existing code path. It might > be possible to do with this with the directory entry-based approach as > well. I guess we can even support strict atime updates with that, which would be even more painful to do with copyup because they happen more frequently than other inode changes. AFAIK the consensus for other union mount implementations was always that strictatime cannot be sanely done, or not done persistantly. Arnd <><