History log of /haiku/src/tests/system/kernel/file_corruption/driver/checksum_device.cpp
Revision Date Author Comments
# fb2d716a 21-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for using underlying devices -- we need to get the size with
the B_GET_GEOMETRY ioctl instead.


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


# 8d591ecc 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added CHECKSUM_DEVICE_IOCTL_GET_CHECK_SUM ioctl.
* Added some debug output.
* CheckSumCache::_GetBlock(): Fixed incorrect check. The method could return
an arbitrary block.


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


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

Open the underlying file (or device) with O_NOCACHE. This works around a
potential page writer deadlock.


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


# 952d6c8c 29-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved the checksum device driver to subdir "driver".
* Created a file system module and a disk system add-on. Currently only
initializing and identifying/scanning is supported.


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


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

Added support for using underlying devices -- we need to get the size with
the B_GET_GEOMETRY ioctl instead.


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


# 8d591ecc414660ccdc583403f8f18f56c1ba18d6 20-Jul-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added CHECKSUM_DEVICE_IOCTL_GET_CHECK_SUM ioctl.
* Added some debug output.
* CheckSumCache::_GetBlock(): Fixed incorrect check. The method could return
an arbitrary block.


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


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

Open the underlying file (or device) with O_NOCACHE. This works around a
potential page writer deadlock.


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


# 952d6c8cc4d74029cf3a29cc84ebb313f6656aec 29-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved the checksum device driver to subdir "driver".
* Created a file system module and a disk system add-on. Currently only
initializing and identifying/scanning is supported.


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