Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265207AbUIJHqr (ORCPT ); Fri, 10 Sep 2004 03:46:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266173AbUIJHqr (ORCPT ); Fri, 10 Sep 2004 03:46:47 -0400 Received: from rwcrmhc13.comcast.net ([204.127.198.39]:17073 "EHLO rwcrmhc13.comcast.net") by vger.kernel.org with ESMTP id S265207AbUIJHqY (ORCPT ); Fri, 10 Sep 2004 03:46:24 -0400 Message-ID: <41415BCF.9090405@namesys.com> Date: Fri, 10 Sep 2004 00:46:23 -0700 From: Hans Reiser User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: viro@parcelfarce.linux.theplanet.co.uk CC: Paul Jakma , "Theodore Ts'o" , Robin Rosenberg , William Stearns , Linux Kernel Subject: Re: silent semantic changes in reiser4 (brief attempt to document the idea ofwhat reiser4 wants to do with metafiles and why References: <200409080009.52683.robin.rosenberg.lists@dewire.com> <20040909090342.GA30303@thunk.org> <4140ABB6.6050702@namesys.com> <4140FBE7.6020704@namesys.com> <414135E6.8050103@namesys.com> <20040910055308.GJ23987@parcelfarce.linux.theplanet.co.uk> <4141560E.1090000@namesys.com> <20040910073317.GL23987@parcelfarce.linux.theplanet.co.uk> In-Reply-To: <20040910073317.GL23987@parcelfarce.linux.theplanet.co.uk> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3947 Lines: 113 Well I didn't get this response, so whether or not you sent it, it was not a lie. Drink less coffee. viro@parcelfarce.linux.theplanet.co.uk wrote: >On Fri, Sep 10, 2004 at 12:21:50AM -0700, Hans Reiser wrote: > > >>I don't think that "Liar." is an appropriate response. >> >> > >To a bold-faced lie? Yes, it is. > > > >>If you sent a >>response, just quote it. >> >> > >I've already posted Message-Id, but if you prefer a quote, fine, here it is: > >============================================================================ >On Wed, Sep 08, 2004 at 01:21:45PM +0530, Sriram Karra wrote: > > >>Perhaps this is one? Message-ID: <413578C9.8020305@namesys.com> >> >> > >OK... > >One note before replying: current code deadlocks even if you make ->link() >*ALWAYS* return an error. It doesn't get to calling the method. No amount >of "disallow hard links to " is going to help here, obviously. > > >Cycle detection: > >We should either 1) make hard links only link to the file aspect of the >file-directory duality, and persons who want to link to the directory >aspect must use symlinks (best short term answer), or 2) ask Alexander >Smith to help us with applying his cycle detection algorithm and gain >the benefit of being able to hard link to directories (if it works well, >best long term answer). > > >... which doesn't address the problem at all. The question is what to do >with seeing directory "aspect..." in more than one place when we have many >links to file in question. > You don't allow people to see the directory aspect in more than one place..... > So much for (1). And (2) is not feasible with >on-disk fs both due to memory, CPU and IO costs _and_ due to exclusion from >hell you'll need to make it safe. > > Your statement regarding 2) is unsupported by technical argument and I think wrong as well. >Re: ambiguity - lots and lots of handwaving on both sides. FWIW, I agree >with Hans in one (and only one) respect here - openat() as a primary API >(and not a convenient libc function) is an atrocity. Simply because it >doesn't address operations beyond open (unlinkat(2), anyone?). > >However, I still haven't seen any strong arguments for need of this "metas" >stuff _or_ the need to export mode/ownership as files, both for regular >files and for directories. Aside of "we can do that" [if we solve the >locking issues] and "xattrs are atrocious" [yes, they are; it doesn't make >alternative mechanism any better] there was nothing that even pretended to >be a technical reason. > > Closure is very technical as a reason. It seems to be above your head though. I can say more about it, but not before bed.... >Note that we also have fun issues with device nodes (Linus' "show partitions" >vs. "show metadata from hosting filesystem"), which makes it even more dubious. >We also have symlinks to deal with (do they have attributes? where should >that be exported?). > >Reserved names have one more problem: to be useful, they'd have to be >hardcoded into applications. And that will create hell with use of >such applications on existing filesystems. Again, no feasible scheme >to deal with that in userland code had been proposed so far, AFAICS. > > How is this different from adding any new feature to any program (library, kernel, fs, daemon) with competitors, that other programs interact with? If you can't cope with change, don't user reiser4..... reiser4 still supports stat(),.... >Locking: see above - links to regular files would create directories seen >in many places. > No, it would only be seen from one parent, unless Smith's solution is used. > With all related issues... > > > > - 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/