From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: Re: [RFC PATCH 1/1] vfs: Filemash fs Date: Thu, 11 Apr 2013 10:44:32 +1000 Message-ID: <20130411004431.GD10481@dastard> References: <20130403102300.GF26398@ram.oc3035372033.ibm.com> <0B472AFB-371E-45E8-BF9F-AB740BCDDBE5@dubeyko.com> <20130408034709.GA31490@ram.oc3035372033.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Vyacheslav Dubeyko , linux-fsdevel@vger.kernel.org To: Ram Pai Return-path: Received: from ipmail05.adl6.internode.on.net ([150.101.137.143]:48776 "EHLO ipmail05.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934600Ab3DKAoe (ORCPT ); Wed, 10 Apr 2013 20:44:34 -0400 Content-Disposition: inline In-Reply-To: <20130408034709.GA31490@ram.oc3035372033.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Apr 08, 2013 at 11:47:09AM +0800, Ram Pai wrote: > On Sun, Apr 07, 2013 at 03:03:29PM +0400, Vyacheslav Dubeyko wrote: > > Hi Ram, > > > > On Apr 3, 2013, at 2:23 PM, Ram Pai wrote: > > > > > The following patch implements a filesystem driver which provides the ability > > > to mashup exisiting files in creative ways in-order to create new files. > > > > > > Think of it as a way to union files; not filesystems. > > > > > > Its a prototype idea with a prototype implementation. Tested and working on > > > 3.0.9-rc1. I have included Documentation file which details the idea with > > > examples and possible applications. > > > > > > Any suggestions/ideas to make this useful and generally applicable is very much > > > appreciated! > > > > > > > Why do you think that your solution is better than LVM or RAID technologies? > > Each has its own place. LVM/RAID lets you build block devices in > creative ways. Filemashup lets you build files in creative ways. > So both solutions have their own application which are not necessarily > the same. Hence I can't say one is better than the other. > > > > > I think that using mount options in your solution is weird way. Let's imagine a file that it will include a hundreds parts. > > Well, I tried to mimic the same kind of approach used by overlayfs to > union-mount directories. > > Yes. you are right. if you want to mashup hundreds of files, then you > will have to provide all those hundred files on the command line, or you > can put the options in /etc/fstab. Can you think of a better approach? Overlay-style filesystem that keeps the mashup information in xattrs in the underlying files. Cheers, Dave. -- Dave Chinner david@fromorbit.com