spdk_bdev_ext_io_opts Struct Reference

Structure with optional IO request parameters. More...

Data Fields

size_t size
 Size of this structure in bytes.
 
struct spdk_memory_domain * memory_domain
 Memory domain which describes payload in this IO request. More...
 
void * memory_domain_ctx
 Context to be passed to memory domain operations.
 
void * metadata
 Metadata buffer, optional.
 
struct spdk_accel_sequence * accel_sequence
 Sequence of accel operations to be executed before/after (depending on the IO type) the request is submitted.
 
uint32_t dif_check_flags_exclude_mask
 Specify which DIF check flags to exclude on a per-IO basis. More...
 

Detailed Description

Structure with optional IO request parameters.

Field Documentation

◆ dif_check_flags_exclude_mask

uint32_t spdk_bdev_ext_io_opts::dif_check_flags_exclude_mask

Specify which DIF check flags to exclude on a per-IO basis.

The default value is all zeroes, which includes all of the flags set for this bdev. If any of the flags is set, that flag will be excluded from any DIF operations for this IO.

◆ memory_domain

struct spdk_memory_domain* spdk_bdev_ext_io_opts::memory_domain

Memory domain which describes payload in this IO request.

bdev must support DMA device type that can access this memory domain, refer to spdk_bdev_get_memory_domains and spdk_memory_domain_get_dma_device_type If set, that means that data buffers can't be accessed directly and the memory domain must be used to fetch data to local buffers or to translate data to another memory domain


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