Skip to main content

Module reader

Module reader 

Source

Structs§

ChildBlockService
A BlockService that maps logical block offsets through the extents of a mapped File in a parent session.
SplittableBuffer
A wrapper around OwnedBuffer that allows carving out independent child OwnedBuffers and delivering the reconstructed original OwnedBuffer to a completion callback once all child buffers have been dropped.

Constants§

MAX_READ_BUFFER_SIZE
Maximum number of bytes to read per single storage buffer request (1 MiB).

Traits§

BlockService
Interface for block storage services providing read buffers and block read operations.

Functions§

read_aligned_range
Reads the specified block-aligned logical range (start..end) into one or more OwnedBuffer chunks with zero copies, streaming each chunk sequentially to callback.
read_buffer_from_extents
Reads data for dest_buffer starting at logical_offset according to extents from service.

Type Aliases§

OwnedBuffer