xfs
[Top] [All Lists]

Re: XFS to main kernel source

To: Steve Lord <lord@xxxxxxx>
Subject: Re: XFS to main kernel source
From: Andreas Dilger <adilger@xxxxxxxxxxxxx>
Date: Thu, 20 Sep 2001 21:12:21 -0600
Cc: hch@xxxxxxx, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "Gonyou, Austin" <austin@xxxxxxxxxxxxxxx>, narancs@xxxxxxxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <200109202131.f8KLVbB19795@jen.americas.sgi.com>
Mail-followup-to: Steve Lord <lord@xxxxxxx>, hch@xxxxxxx, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "Gonyou, Austin" <austin@xxxxxxxxxxxxxxx>, narancs@xxxxxxxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
References: <hch@ns.caldera.de> <20010920222643.A7267@caldera.de> <200109202131.f8KLVbB19795@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.20i
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.

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


<Prev in Thread] Current Thread [Next in Thread>