summaryrefslogtreecommitdiff
path: root/cpukit/libblock/src/blkdev-ioctl.c (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
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-12libblock: Add block device statisticsSebastian Huber
2012-05-11libblock: Add RTEMS_BLKIO_PURGEDEVSebastian Huber
2012-04-12libblock: Add rtems_bdbuf_set_block_size()Sebastian Huber
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.
2012-03-13libblock: Split file and simplifySebastian Huber