summaryrefslogtreecommitdiff
path: root/cpukit/libblock/src/diskdevs-init.c (follow)
AgeCommit message (Collapse)Author
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-07-23Include missing <string.h>Sebastian Huber
2012-12-21libblock: Doxygen Enhancement Task #1Mathew Kallada
2012-10-26libblock: rtems_bdbuf_set_block_size() API changeSebastian Huber
The set block size must synchronize and purge the disk to avoid an inconsistent cache state and data corruption. The synchronization is optional depending on the new sync parameter. In some contexts a synchronization must not be performed, e.g. during disk creation.
2012-06-04libblock: Add read-ahead taskSebastian Huber
Read-ahead requests were previously executed in the context of the reading task. This blocks the reading task until the complete read with read-ahead transfer is finished. A read-ahead task is introduced to off-load the read-ahead transfer. This allows the reading task to work with the requested block more quickly. The read-ahead is triggered after two misses of ascending consecutive blocks or a read hit of a block read by the most-recent read-ahead transfer. The read-ahead feature is configurable and can be disabled.
2012-05-31libblock: Simplify disk managementSebastian Huber
Add block_count and media_blocks_per_block to rtems_disk_device. Add and use rtems_disk_init_phys() and rtems_disk_init_log().