lkml.org 
[lkml]   [2004]   [Feb]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromNikita Danilov <>
DateFri, 6 Feb 2004 12:05:33 +0300
SubjectRe: reiserfs - difference between a commit and a transaction
Micha Feigin writes:
 > I am trying to do some work on reiserfs to make it laptop-mode
 > compliant. After looking at the code because it was still noisy after I
 > thought I told correctly to be quite, raised a question that I was
 > hoping someone can clarify for me.
 > 
 > Reiserfs has both a transaction and a commit and I was wondering what
 > is which.

Transaction is a sequence of file system modifications that (by the
virtue of file system implementation) is bound to either be completed as
a whole or be aborted as a whole (this is called "atomicity").

Commit is a certain operation performed during transaction life-time to
implement its atomicity.

 > 
 > (I am mostly interested in this from the point of what max_trans_age
 > and max_commit_age affect)

Take a look at the "commit" mount option of reiserfs.

 > 
 > Thanks

Nikita.
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008