History log of /haiku/src/tests/system/kernel/file_corruption/fs/Transaction.cpp
Revision Date Author Comments
# a738ca2c 12-Sep-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Build fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38607 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1e7497da 21-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37655 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9bc87c76 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Block does now register writable blocks with Transaction. On commit
Transaction sets the check sums for the changed blocks on the underlying
device, respectively reverts them on roll-back.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37639 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72e9c284 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added flags for removing/unremoving the node.
* Added more optional notification parameters to Commit().
* Added some handy methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37623 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8282312 19-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added node monitoring support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37601 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4cc12034 13-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added node locking related flags.
* Added convenience method StartAndAddNode().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37505 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a2e7c741 12-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added Transaction class which wraps a block cache transaction and performs
all other operations required to roll back a transaction. Transactions are
fully serialized -- due to limitations of our block cache and also to keep
things simple.
* Use a transaction for all write operations.
* Implemented the directory entry management code (a simple tree algorithm).
* Finished/implemented the FS hooks for directory entry lookup, directory
iteration, creation, and removal.
* Added non-persistent support for node access times.
* Set the user and group IDs on node creation.
* Added permission checks to several FS hooks.
* BlockAllocator::_Free(): The number of freed blocks was subtracted from
fFreeBlocks instead of added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37478 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a738ca2c55bd08da2593587ccf7f8cb6cc7a75a0 12-Sep-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Build fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38607 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1e7497da42d59e3bf4e44ab30b29bfc46a9db624 21-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37655 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9bc87c767b30fc60aef22c7d3f11edd74d4f89ac 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Block does now register writable blocks with Transaction. On commit
Transaction sets the check sums for the changed blocks on the underlying
device, respectively reverts them on roll-back.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37639 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72e9c2846a06d5861f4bff9963fbe1a42f214eed 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added flags for removing/unremoving the node.
* Added more optional notification parameters to Commit().
* Added some handy methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37623 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e828231248036363167313f7cad872c2bb5676e4 19-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added node monitoring support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37601 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4cc120341625337dc85f5ae86bdc0ce419072790 13-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added node locking related flags.
* Added convenience method StartAndAddNode().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37505 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a2e7c7417b968392fd1756b6b097eb047003e6c7 12-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added Transaction class which wraps a block cache transaction and performs
all other operations required to roll back a transaction. Transactions are
fully serialized -- due to limitations of our block cache and also to keep
things simple.
* Use a transaction for all write operations.
* Implemented the directory entry management code (a simple tree algorithm).
* Finished/implemented the FS hooks for directory entry lookup, directory
iteration, creation, and removal.
* Added non-persistent support for node access times.
* Set the user and group IDs on node creation.
* Added permission checks to several FS hooks.
* BlockAllocator::_Free(): The number of freed blocks was subtracted from
fFreeBlocks instead of added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37478 a95241bf-73f2-0310-859d-f6bbb57e9c96