From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bruce Subject: Re: The argument for fs assistance in handling archives Date: Thu, 02 Sep 2004 08:50:10 -0400 Message-ID: <41371702.8030704@andrew.cmu.edu> References: <20040826150202.GE5733@mail.shareable.org> <200408282314.i7SNErYv003270@localhost.localdomain> <20040901200806.GC31934@mail.shareable.org> <20040902002431.GN31934@mail.shareable.org> <413694E6.7010606@slaphack.com> <4136A14E.9010303@slaphack.com> <4136C876.5010806@namesys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Hans Reiser , David Masover , Jamie Lokier , Horst von Brand , Adrian Bunk , viro@parcelfarce.linux.theplanet.co.uk, Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Lyamin aka FLX , ReiserFS List Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: Linus Torvalds In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org Linus Torvalds wrote: >... >But _my_ point is, no user program is going to take _advantage_ of >anything that only one filesystem on one system offers. > >So there's no point. > >It's much saner (from _any_ app standpoint) to roll their own database in >user space - that way it just works. > >In other words, nobody is really ever going to take advantage of this. >This is _not_ how technical advanncement happens. The way you get people >to take advantage of something is to have a nice gradual ramp-up, not a >sudden new feature that they can't realistically use. >... > Sure, but there are plenty of existing interfaces that you could emulate. One could make a small library to use a transactional filesystem to implement the Berkely DB interface (libdb) for example. So on filesystems without such support your app could use the regular userspace database, but on a transactional filesystem it'd just use regular files, which would simplify database management and likely increase performance over the userspace-only version (libdb is pretty slow). In terms of functionality it'd just be a drop-in replacement, just like math libraries that use MMX/SSE when available. - Jim Bruce