DAOS API: daos_array_iod_t Struct Reference

| DAOS API (v2.1 - dev)

Loading...
Searching...
No Matches
daos_array_iod_t Struct Reference

`#include <daos_array.h>`

## Data Fields
daos_size_t | arr_nr
daos_range_t * | arr_rgs
daos_size_t | arr_nr_short_read
daos_size_t | arr_nr_read

## Detailed Description

IO descriptor of ranges in a DAOS array object to access

Definition at line 41 of file daos_array.h.

## Field Documentation

## ◆ arr_nr

daos_size_t arr_nr

Number of entries in arr_rgs

Definition at line 43 of file daos_array.h.

## ◆ arr_nr_read

daos_size_t arr_nr_read

(on read only) the number of records that were actually read from the array

Definition at line 52 of file daos_array.h.

## ◆ arr_nr_short_read

daos_size_t arr_nr_short_read

(on read only) the number of records that are short fetched from the largest dkey(s). Helps for checking short reads. If nonzero, a short read is possible and should be checked with daos_array_get_size() compared with the indexes being read.

Definition at line 50 of file daos_array.h.

## ◆ arr_rgs

daos_range_t* arr_rgs

Array of ranges; each range defines a starting index and length.

Definition at line 45 of file daos_array.h.

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

- src/include/daos_array.h