summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libblock: Use UTF-8 converter in media managerSebastian Huber2013-06-041-3/+10
|
* ramdisk: Fix device name generationSebastian Huber2013-03-221-1/+1
|
* libblock: Do resource allocation in one placeSebastian Huber2013-02-211-115/+153
| | | | | | | All resource allocations take place in rtems_bdbuf_init() now. After rtems_bdbuf_init() no fatal errors can happen due to configuration errors or resource limits. This makes it easier to detect configuration errors for users.
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-108-39/+21
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* Header File Doxygen Enhancement Task #1Alex Ivanov2012-12-283-8/+5
|
* Header File Doxygen Enhancement Task #7Mathew Kallada2012-12-281-1/+1
|
* Header File Doxygen Enhancement Task #2Mathew Kallada2012-12-284-6/+8
|
* libblock: Use @brief in documentationSebastian Huber2012-12-211-22/+22
|
* libblock: Doxygen Enhancement Task #1 correctionsJennifer Averett2012-12-212-6/+5
|
* libblock: Doxygen Enhancement Task #1Mathew Kallada2012-12-2120-70/+97
|
* libblock: Use rtems_blkdev_create_partition()Sebastian Huber2012-12-211-53/+82
| | | | | Use rtems_blkdev_create_partition() instead of rtems_disk_create_log() to avoid problems with the huge IMFS_GENERIC_DEVICE_MAJOR_NUMBER.
* Fix spellingSebastian Huber2012-12-141-1/+1
|
* libblock: Add sparse diskRalf Kirchner2012-12-053-0/+525
|
* libblock: DocumentationRalf Kirchner2012-11-291-1/+1
|
* score: Add RTEMS_FATAL_SOURCE_BDBUFSebastian Huber2012-11-151-78/+73
| | | | | | Add rtems_bdbuf_fatal_code as a replacement for the previous fatal error codes. Remove unused error codes. Add new error codes. Use rtems_fatal() with RTEMS_FATAL_SOURCE_BDBUF as source.
* libblock: DocumentationSebastian Huber2012-11-022-98/+125
|
* libblock: Block device transfer request API changeSebastian Huber2012-11-025-48/+63
| | | | | | | | | | | | | | Add and use rtems_blkdev_request_done(). Block device transfer requests must signal the completion status now with rtems_blkdev_request_done(). The return value of the block device IO control will be ignored for transfer requests. The first parameter of rtems_blkdev_request_cb is now the transfer request structure. Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to break third party drivers at compile time, otherwise this API change would result in runtime errors.
* libblock: Use transient eventSebastian Huber2012-10-301-5/+15
|
* libblock: rtems_bdbuf_set_block_size() API changeSebastian Huber2012-10-264-9/+28
| | | | | | | 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.
* libblock: ramdisk documentationSebastian Huber2012-10-263-61/+41
|
* Remove CVS-Ids.Ralf Corsépius2012-07-192-4/+0
|
* libblock: Fix read-ahead task wake-upSebastian Huber2012-07-091-5/+10
| | | | | | | | | In case the read-ahead task is not configured we must not send a wake-up event. This would send the wake-up event to the executing task. We must send the wake-up event only in case the request list changes from empty to non-empty. Since otherwise we may send a false transfer event.
* libblock: Move read-ahead trigger checkSebastian Huber2012-07-031-1/+2
| | | | | | In case the read-ahead task has a higher priority than the reading task, this ensures that the read-ahead request is issued after the read miss is serviced.
* libblock: Fix read-ahead trigger and next updateSebastian Huber2012-07-021-1/+1
| | | | | The previous version was sub-optimal for read-ahead transfer counts of one.
* libblock: Fix read-ahead trigger and next updateSebastian Huber2012-07-021-2/+2
|
* libblock: Fix continuous blocks write requestSebastian Huber2012-07-021-13/+6
|
* libblock: Remove unused fieldSebastian Huber2012-07-021-1/+0
|
* libblock: Add block device statisticsSebastian Huber2012-06-128-0/+281
|
* libblock: Remove const qualifierSebastian Huber2012-06-122-18/+18
| | | | This allows addtion of per disk statistics for example.
* libblock: Rename structureSebastian Huber2012-06-041-3/+3
|
* libblock: Add read-ahead taskSebastian Huber2012-06-044-128/+284
| | | | | | | | | | | 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.
* Fix C files which had two semi-colons at EOLJoel Sherrill2012-05-311-1/+1
|
* libblock: Move rtems_bdbuf_get_media_block() callSebastian Huber2012-05-311-75/+78
| | | | Move rtems_bdbuf_get_media_block() call inside the bdbuf lock.
* libblock: Simplify disk managementSebastian Huber2012-05-317-118/+229
| | | | | Add block_count and media_blocks_per_block to rtems_disk_device. Add and use rtems_disk_init_phys() and rtems_disk_init_log().
* libblock: Remove explicit bds_per_group parameterSebastian Huber2012-05-311-18/+13
|
* libblock: Remove const qualifier from bdbuf APISebastian Huber2012-05-318-27/+27
| | | | This allows addtion of per disk statistics for example.
* libblock: Add task stack size bdbuf configurationSebastian Huber2012-05-312-38/+51
| | | | | | The task stack size for the swap-out and worker tasks is now configurable. The bdbuf task resources are now included in the work space size estimate.
* libblock: Fix read request block count calculationSebastian Huber2012-05-241-1/+1
|
* libblock: Fix state descriptionsSebastian Huber2012-05-241-1/+1
|
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-151-0/+2
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* libblock: Fix purge device tree traversalSebastian Huber2012-05-141-1/+2
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1117-38/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* libblock: Add RTEMS_BLKIO_PURGEDEVSebastian Huber2012-05-112-0/+10
|
* Filesystem: PR1398: Fix lseek() mechanicSebastian Huber2012-05-111-1/+1
| | | | | | | | | | | | According to POSIX the lseek() function shall not, by itself, extend the size of a file. Remove the size field of rtems_libio_t. A file has only one size but may have multiple open file descriptors. Thus a file size field in the file descriptor may lead to inconsistencies. New default handlers rtems_filesystem_default_lseek_file() and rtems_filesystem_default_lseek_directory().
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* libblock: PR2040: Fix recycle destination updateSebastian Huber2012-04-161-8/+7
| | | | | Check the availablity of a recycle destination segment only when it is necessary to avoid missing resycle source segment erasures.
* libblock: PR2040: Add starvation thresholdSebastian Huber2012-04-161-1/+15
| | | | | | Do not use the unavailable block count as the erased blocks starvation threshold. Use instead the block count of the largest segment. This improves the starvation resolution gain of available blocks.
* libblock: Add rtems_bdbuf_set_block_size()Sebastian Huber2012-04-126-85/+165
| | | | | | | | The new function rtems_bdbuf_set_block_size() must be used to set the block size of a disk device. It will check if the block size is valid and set the new fields block_to_media_block_shift and bds_per_group of the rtems_disk_device structure. This helps to avoid complex arithmetic operations in the block device buffer get and read path.
* libblock: Change error status to fatal errorSebastian Huber2012-04-122-24/+47
| | | | | Calling the bdbuf API functions in the not configured state is now a fatal error.