cctools
|
Describes a bulk I/O operation. More...
#include <chirp_types.h>
Data Fields | |
chirp_bulkio_t | type |
The type of I/O to perform. More... | |
struct chirp_file * | file |
The file to access for all operations. More... | |
struct chirp_stat * | info |
Pointer to a data buffer for FSTAT. More... | |
void * | buffer |
Pointer to data buffer for PREAD, PWRITE, SREAD, and SWRITE. More... | |
INT64_T | length |
Length of the data, in bytes, for PREAD, WRITE, SREAD, and SWRITE. More... | |
INT64_T | stride_length |
Length of each stride for SREAD and SWRITE. More... | |
INT64_T | stride_skip |
Distance between start of each stride for SREAD and SWRITE. More... | |
INT64_T | offset |
Starting offset in file for PREAD, PWRITE, SREAD, and SWRITE. More... | |
INT64_T | result |
On completion, contains result of operation. More... | |
INT64_T | errnum |
On failure, contains the errno for the call. More... | |
Describes a bulk I/O operation.
An array of chirp_bulkio structures passed to chirp_reli_bulkio describes a list of multiple operatons to be performed simultaneously. Not all fields are relevant to all operations.
chirp_bulkio_t chirp_bulkio::type |
The type of I/O to perform.
struct chirp_file* chirp_bulkio::file |
The file to access for all operations.
struct chirp_stat* chirp_bulkio::info |
Pointer to a data buffer for FSTAT.
void* chirp_bulkio::buffer |
Pointer to data buffer for PREAD, PWRITE, SREAD, and SWRITE.
INT64_T chirp_bulkio::length |
Length of the data, in bytes, for PREAD, WRITE, SREAD, and SWRITE.
INT64_T chirp_bulkio::stride_length |
Length of each stride for SREAD and SWRITE.
INT64_T chirp_bulkio::stride_skip |
Distance between start of each stride for SREAD and SWRITE.
INT64_T chirp_bulkio::offset |
Starting offset in file for PREAD, PWRITE, SREAD, and SWRITE.
INT64_T chirp_bulkio::result |
On completion, contains result of operation.
INT64_T chirp_bulkio::errnum |
On failure, contains the errno for the call.