struct BlockFifoRequest

Defined at line 43 of file ../../src/devices/block/drivers/core/block-fifo.h

* Reads with Decompression *

For a non-fragmented read with decompression (`flags` has `DECOMPRESS_WITH_ZSTD` set)

`dev_offset` and `length` should specify the compressed blocks. `total_compressed_bytes` should

be the total number of compressed bytes. `uncompresed_bytes` is the total number of

uncompressed bytes. `compressed_prefix_bytes` specifies the padding at the beginning before the

start of compressed data.

For a fragmented read with decompression:

For the first request in the group: `dev_offset` and `length` should specify the compressed

blocks for the first fragment. `total_compressed_bytes` should be set to the total number of

compressed bytes across all requests, and likewise for `uncompressed_bytes` and

`compressed_prefix_bytes`.

For subsequent requests, `dev_offset` and `length` should specify the compressed blocks. All

other fields should be zero.

The group may only contain read requests applicable to the decompressed read.

There is a 128 MiB limit on the total compressed amount.

Public Members

BlockFifoCommand command
reqid_t reqid
groupid_t group
vmoid_t vmoid
uint32_t length
uint32_t total_compressed_bytes
uint64_t vmo_offset
uint64_t dev_offset
uint64_t trace_flow_id
uint32_t dun
uint8_t slot
uint8_t padding
uint16_t compressed_prefix_bytes
uint32_t uncompressed_bytes
uint32_t padding2