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

Data Fields

struct spdk_bdevbdev
 The block device that this I/O belongs to.
 
uint8_t type
 Enumerated value representing the I/O type.
 
uint8_t reserved0
 
uint16_t num_retries
 Number of IO submission retries.
 
uint32_t reserved1
 
struct iovec iov
 A single iovec element for use by this bdev_io.
 
struct iovec child_iov [SPDK_BDEV_IO_NUM_CHILD_IOV]
 Array of iovecs used for I/O splitting.
 
uint8_t reserved2 [32]
 
union { 
 
   struct spdk_bdev_io_block_params   bdev 
 
   struct spdk_bdev_io_reset_params   reset 
 
   struct spdk_bdev_io_abort_params   abort 
 
   struct spdk_bdev_io_nvme_passthru_params   nvme_passthru 
 
   struct spdk_bdev_io_zone_mgmt_params   zone_mgmt 
 
u 
 Parameters filled in by the user.
 
uint8_t reserved3 [40]
 
struct spdk_bdev_io_internal_fields internal
 Fields that are used internally by the bdev subsystem.
 
uint8_t driver_ctx [0]
 Per I/O context for use by the bdev module.
 

Field Documentation

◆ internal

struct spdk_bdev_io_internal_fields spdk_bdev_io::internal

Fields that are used internally by the bdev subsystem.

Bdev modules must not read or write to these fields.


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