RTEMS 6.1-rc6
|
Block device read-ahead control. More...
#include <diskdevs.h>
Data Fields | |
rtems_chain_node | node |
Chain node for the read-ahead request queue of the read-ahead task. | |
rtems_blkdev_bnum | trigger |
Block value to trigger the read-ahead request. | |
rtems_blkdev_bnum | next |
Start block for the next read-ahead request. | |
uint32_t | nr_blocks |
Size of the next read-ahead request in blocks. | |
Block device read-ahead control.
rtems_blkdev_bnum rtems_blkdev_read_ahead::next |
Start block for the next read-ahead request.
In case the trigger value is out of range of valid blocks, this value my be arbitrary.
uint32_t rtems_blkdev_read_ahead::nr_blocks |
Size of the next read-ahead request in blocks.
A value of RTEMS_DISK_READ_AHEAD_SIZE_AUTO will try to read the rest of the disk but at most the configured max_read_ahead_blocks.
rtems_blkdev_bnum rtems_blkdev_read_ahead::trigger |
Block value to trigger the read-ahead request.
A value of RTEMS_DISK_READ_AHEAD_NO_TRIGGER will disable further read-ahead requests (except the ones triggered by rtems_bdbuf_peek) since no valid block can have this value.