History log of /haiku/src/tests/system/kernel/file_corruption/fs/BlockAllocator.h
Revision Date Author Comments
# 1e0016e1 19-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

BlockAllocator didn't update the freeBlocks field in the superblock. So after
unmounting and remounting the number of free blocks could be off.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37588 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


# 74956f43 05-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added the beginnings of node support.
* Added the bare minimum of file system hooks to mount the file system. Can't
do anything more than listing the (empty) root directory yet, though.
* Added Jamfile for building the file system for the userlandfs.


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


# c33b89b3 30-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented a simple block allocator.


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


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

BlockAllocator didn't update the freeBlocks field in the superblock. So after
unmounting and remounting the number of free blocks could be off.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37588 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


# 74956f4385f2640f6de361d13e0cbe4f966ee1c7 05-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added the beginnings of node support.
* Added the bare minimum of file system hooks to mount the file system. Can't
do anything more than listing the (empty) root directory yet, though.
* Added Jamfile for building the file system for the userlandfs.


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


# c33b89b3bb339911828921c207a8d375621a65d0 30-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented a simple block allocator.


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