Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f8L3Piv10483 for linux-xfs-outgoing; Thu, 20 Sep 2001 20:25:44 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8L3Pfe10463 for ; Thu, 20 Sep 2001 20:25:41 -0700 Received: from zeus-fddi.americas.sgi.com (zeus-fddi.americas.sgi.com [128.162.8.103]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id UAA00312 for ; Thu, 20 Sep 2001 20:24:21 -0700 (PDT) mail_from (lord@sgi.com) Received: from daisy-e185.americas.sgi.com (daisy.americas.sgi.com [128.162.185.214]) by zeus-fddi.americas.sgi.com (8.9.3/americas-smart-nospam1.1) with ESMTP id WAA3025619; Thu, 20 Sep 2001 22:24:18 -0500 (CDT) Received: from jen.americas.sgi.com (jen.americas.sgi.com [128.162.187.49]) by daisy-e185.americas.sgi.com (SGI-8.9.3/SGI-server-1.7) with ESMTP id WAA75933; Thu, 20 Sep 2001 22:24:18 -0500 (CDT) Received: from jen.americas.sgi.com by jen.americas.sgi.com (8.11.6/SGI-client-1.7) via ESMTP id f8L3PKi20270; Thu, 20 Sep 2001 22:25:20 -0500 Message-Id: <200109210325.f8L3PKi20270@jen.americas.sgi.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Steve Lord , hch@ns.caldera.de, Alan Cox , "Gonyou, Austin" , narancs@narancs.tii.matav.hu, linux-xfs@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: XFS to main kernel source In-Reply-To: Message from Andreas Dilger of "Thu, 20 Sep 2001 21:12:21 MDT." <20010920211221.G14526@turbolinux.com> Date: Thu, 20 Sep 2001 22:25:20 -0500 From: Steve Lord Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk > On Sep 20, 2001 16:31 -0500, Steve Lord wrote: > > XFS quotas are transactional, when space is added to a file the quota is > > adjusted in the same transaction. It is fairly hard to do this without your > > own quota code. > > Actually not. The quotas in ext3 are transactional as well. It's just > that the "ext3" journal layer allows nested transactions, so it is possible > to start a write transaction, call into the journal code which calls back > into the ext3 write code to start a nested transaction on the journal file > (i.e. it is in the same transaction as the initial write), and then the > initial write completes. OK, good point, but doing a major rewrite of XFS to use a different transaction mechanism is not really on the cards, plus we have on disk compatibility with the Irix version to consider. Steve