[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 
blocks.

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.

Regards,

Daniel

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list