chirp_bulkio Struct Reference

Describes a bulk I/O operation. More...

#include <chirp_types.h>

Data Fields

chirp_bulkio_t type
 The type of I/O to perform.
struct chirp_file * file
 The file to access for all operations.
struct chirp_statinfo
 Pointer to a data buffer for FSTAT.
void * buffer
 Pointer to data buffer for PREAD, PWRITE, SREAD, and SWRITE.
INT64_T length
 Length of the data, in bytes, for PREAD, WRITE, SREAD, and SWRITE.
INT64_T stride_length
 Length of each stride for SREAD and SWRITE.
INT64_T stride_skip
 Distance between start of each stride for SREAD and SWRITE.
INT64_T offset
 Starting offset in file for PREAD, PWRITE, SREAD, and SWRITE.
INT64_T result
 On completion, contains result of operation.
INT64_T errnum
 On failure, contains the errno for the call.

Detailed Description

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.


Field Documentation

The type of I/O to perform.

struct chirp_file* chirp_bulkio::file [read]

The file to access for all operations.

Pointer to a data buffer for FSTAT.

Pointer to data buffer for PREAD, PWRITE, SREAD, and SWRITE.

Length of the data, in bytes, for PREAD, WRITE, SREAD, and SWRITE.

Length of each stride for SREAD and SWRITE.

Distance between start of each stride for SREAD and SWRITE.

Starting offset in file for PREAD, PWRITE, SREAD, and SWRITE.

On completion, contains result of operation.

On failure, contains the errno for the call.


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

Generated on 10 Apr 2014 for cctools by  doxygen 1.6.1