History log of /haiku/src/tests/system/kernel/file_corruption/CheckSum.h
Revision Date Author Comments
# 7514b57e 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added Data() getter and an assignment operator getting a raw buffer.


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


# 1e0ea42a 24-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Beginnings of a test for tracking down the file corruptions that still seem
to occur in current revisions. The working hypothesis is that the corruptions
happen below the file system (i.e. in file/block cache or VM). The intended
setup for the test is a device driver -- a loop device kind of thing -- that
also stores check sums for all blocks and a file system that communicates the
check sums to expect via an independent channel (ioctl) to the driver.
Whenever a block arrives at the driver for writing, the block is checked
against its expected check sum. Initially Axel's idea, BTW.
The device driver is done and working as far as tested (save for
unregistering devices). The file system part is still to be done.


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


# 7514b57ebf883e4e99a83411f11448343f409f22 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added Data() getter and an assignment operator getting a raw buffer.


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


# 1e0ea42a25b9c2c46e90f17a32bebf625522e05e 24-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Beginnings of a test for tracking down the file corruptions that still seem
to occur in current revisions. The working hypothesis is that the corruptions
happen below the file system (i.e. in file/block cache or VM). The intended
setup for the test is a device driver -- a loop device kind of thing -- that
also stores check sums for all blocks and a file system that communicates the
check sums to expect via an independent channel (ioctl) to the driver.
Whenever a block arrives at the driver for writing, the block is checked
against its expected check sum. Initially Axel's idea, BTW.
The device driver is done and working as far as tested (save for
unregistering devices). The file system part is still to be done.


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