Data Fields | ||
struct spdk_bdev * | bdev | |
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. | ||
uint64_t | reserved3 | |
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. | ||
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.