RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Fields
rtems_blkdev_read_ahead Struct Reference

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.
 

Detailed Description

Block device read-ahead control.

Field Documentation

◆ next

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.

◆ nr_blocks

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.

◆ trigger

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.


The documentation for this struct was generated from the following file: