xfs
[Top] [All Lists]

Re: transaction in XFS

To: jin hee park <jinny84@xxxxxxxxxxx>
Subject: Re: transaction in XFS
From: Steve Lord <lord@xxxxxxx>
Date: 14 Jul 2003 07:35:41 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030714115016.70297.qmail@web10007.mail.yahoo.com>
References: <20030714115016.70297.qmail@web10007.mail.yahoo.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, 2003-07-14 at 06:50, jin hee park wrote:
> Hello~
> 
> I have a question about transaction in XFS.
> 
> Are transactions (which are chained using
> xfs_trans_dup function) atomic?
> I wonder that such transactions are like one
> transacion idea(all or nothing).
> please, let me know..
> 
> thank you.
> - JinHee
> 

These transactions are not atomic, each one records sufficient
information to rebuild a consistent filesystem after a crash.

An example use of chained transactions is deleting extents in a
file, the amount of log space this needs is unbounded - a function
of the number of extents in the file. We cannot do the whole
sequence in one transaction, so we use a chain of them.

Steve



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