From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Reiser Subject: Re: file as a directory Date: Fri, 17 Dec 2004 10:09:47 -0800 Message-ID: <41C320EB.1050400@namesys.com> References: <200411301631.iAUGVT8h007823@laptop11.inf.utfsm.cl> <41ACA7C9.1070001@namesys.com> <1103043518.21728.159.camel@pear.st-and.ac.uk> <41BF21BC.1020809@namesys.com> <1103059622.2999.17.camel@grape.st-and.ac.uk> <41BFC1C5.1070302@slaphack.com> <1103102854.30601.12.camel@pear.st-and.ac.uk> <41C0CF3B.1030705@slaphack.com> <41C1D870.2020407@namesys.com> <1103223664.2336.335.camel@pear.st-and.ac.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <1103223664.2336.335.camel@pear.st-and.ac.uk> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Peter Foldiak Cc: David Masover , reiserfs-list@namesys.com, linux-kernel@vger.kernel.org Peter Foldiak wrote: >On Thu, 2004-12-16 at 18:48, Hans Reiser wrote: > > >>David Masover wrote: >> >> >>>Speaking of which, how much speed is lost by starting up a process? >>> >>>The idea of caching is that running >>> >>>cat *; cat *; cat *; cat *; cat * >>> >>>is probably slower than >>> >>>cat * > baz; cat baz; cat baz; cat baz; cat baz; cat baz >>> >>> >>Only for small files where the per file overhead of a read is significant. >> >> > >But if the glued "file" is a stream (or pipe?) you can't do everything >with it (e.g. seek() ) that you could do with a proper file, right? > > It does not need to be a pipe-like file. Seek can be implemented for a composite (glued) file. >You may want to do everything with it that you can do with a proper >file. > >- >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/ > > > >