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
|