[Tux3] Atomic commit status update

Daniel Phillips phillips at phunq.net
Sun Feb 8 02:27:34 PST 2009

Logging and replay now function in the test_commit unit test.  Most of 
the atomic commit mechanism is now compiled into the both userspace and 
kernel code, though disabled to avoid breaking basic filesystem 
functionality during the prototyping period.

To run the prototype unit test:

  make UCFLAGS=-DATOMIC commit && ./commit testdev

The unit test also runs without defining ATOMIC, but btree blocks are 
not redirected and so no log transactions are generated, and no log 

This test creates a new filesystem, runs some namespace transactions on 
it, evicts the pinned dirty btree metadata and attempts to reconstruct 
it via the replay.  Reconstruction is not fully functional yet, however 
the log blocks are (re)loaded and replayed successfully.  This creates 
a mountable filesystem in testdev.



Tux3 mailing list
Tux3 at tux3.org

More information about the Tux3 mailing list