summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* nvdisk: swap arguments to checksum helperGedare Bloom2013-09-051-1/+1
| | | | | | | The arguments to rtems_nvdisk_calc_crc16() are reversed when called from rtems_nvdisk_page_checksum(). 26053 Operands don't affect result
* sparse-disk: check return value from semaphore_obtain/releaseGedare Bloom2013-09-051-2/+9
| | | | In case obtain/release is unsuccessful, cause a fatal error.
* bdpart: Argument cannot be negativeGedare Bloom2013-09-051-2/+3
| | | | If open(fd) fails then avoid the error path that calls close(fd).
* libblock: Use unprotected chain extractSebastian Huber2013-08-271-1/+1
| | | | This area is protected by the media mutex.
* libblock: Avoid uninitialized variableSebastian Huber2013-08-261-2/+1
|
* libblock: PR2040: Avoid NULL pointer accessSebastian Huber2013-08-231-6/+16
| | | | | | | This partly reverts commit 08b9d534604fbf437743a9925ef28eb1b848510d. Avoid a NULL pointer access and perform the source segment erase if necessary.
* libblock: Add missing initializerSebastian Huber2013-08-141-1/+1
|
* libblock: Add SMP supportSebastian Huber2013-08-141-5/+7
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-261-1/+1
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* Include missing <string.h>Sebastian Huber2013-07-234-0/+5
|
* 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.