Loading...
Searching...
No Matches
spdk_bdev_ext_io_opts Struct Reference

Structure with optional IO request parameters. More...

#include <bdev.h>

Collaboration diagram for spdk_bdev_ext_io_opts:

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.
 
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.
 
union spdk_bdev_nvme_cdw12 nvme_cdw12
 defined by spdk_bdev_nvme_cdw12
 
union spdk_bdev_nvme_cdw13 nvme_cdw13
 defined by spdk_bdev_nvme_cdw13
 

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: