Loading...
Searching...
No Matches
spdk_bdev_io_block_params Struct Reference
Collaboration diagram for spdk_bdev_io_block_params:

Data Fields

struct iovec * iovs
 For SG buffer cases, array of iovecs to transfer.
 
int iovcnt
 For SG buffer cases, number of iovecs in iovec array.
 
uint64_t num_blocks
 Total size of data to be transferred.
 
uint64_t offset_blocks
 Starting offset (in blocks) of the bdev for this I/O.
 
struct spdk_memory_domain * memory_domain
 Memory domain and its context to be used by bdev modules.
 
void * memory_domain_ctx
 
struct spdk_accel_sequence * accel_sequence
 
void * md_buf
 
struct iovec * fused_iovs
 For fused operations such as COMPARE_AND_WRITE, array of iovecs for the second operation.
 
int fused_iovcnt
 Number of iovecs in fused_iovs.
 
uint32_t dif_check_flags
 Specify whether each DIF check type is enabled.
 
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
 
struct { 
 
   uint8_t   populate: 1 
 Whether the buffer should be populated with the real data.
 
   uint8_t   commit: 1 
 Whether the buffer should be committed back to disk.
 
   uint8_t   start: 1 
 True if this request is in the 'start' phase of zcopy. More...
 
zcopy 
 
struct { 
 
   void *   bio_cb_arg 
 The callback argument for the outstanding request which this abort attempts to cancel.
 
abort 
 
struct { 
 
   uint64_t   offset 
 The offset of next data/hole. More...
 
seek 
 
struct { 
 
   uint64_t   src_offset_blocks 
 Starting source offset (in blocks) of the bdev for copy I/O.
 
copy 
 

Field Documentation

◆ offset

uint64_t spdk_bdev_io_block_params::offset

The offset of next data/hole.


◆ start

uint8_t spdk_bdev_io_block_params::start

True if this request is in the 'start' phase of zcopy.

False if in 'end'.


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