15#ifndef __DAOS_ARRAY_H__
16#define __DAOS_ARRAY_H__
18#if defined(__cplusplus)
22#include <daos_types.h>
24#include <daos_obj_class.h>
81 daos_oclass_hints_t hints, uint32_t args)
83 enum daos_otype_t type;
85 type = DAOS_OT_ARRAY_ATTR;
90 return daos_obj_generate_oid(coh, oid, type, cid, hints, args);
129 daos_size_t cell_size, daos_size_t chunk_size,
161 unsigned int mode, daos_size_t *cell_size,
195 daos_size_t cell_size, daos_size_t chunk_size,
430 daos_size_t *cell_size);
447#if defined(__cplusplus)
int daos_array_read(daos_handle_t oh, daos_handle_t th, daos_array_iod_t *iod, d_sg_list_t *sgl, daos_event_t *ev)
int daos_array_local2global(daos_handle_t oh, d_iov_t *glob)
int daos_array_close(daos_handle_t oh, daos_event_t *ev)
int daos_array_open(daos_handle_t coh, daos_obj_id_t oid, daos_handle_t th, unsigned int mode, daos_size_t *cell_size, daos_size_t *chunk_size, daos_handle_t *oh, daos_event_t *ev)
int daos_array_get_attr(daos_handle_t oh, daos_size_t *chunk_size, daos_size_t *cell_size)
int daos_array_set_size(daos_handle_t oh, daos_handle_t th, daos_size_t size, daos_event_t *ev)
int daos_array_get_size(daos_handle_t oh, daos_handle_t th, daos_size_t *size, daos_event_t *ev)
int daos_array_update_chunk_size(daos_handle_t oh, daos_size_t chunk_size)
int daos_array_global2local(daos_handle_t coh, d_iov_t glob, unsigned int mode, daos_handle_t *oh)
int daos_array_open_with_attr(daos_handle_t coh, daos_obj_id_t oid, daos_handle_t th, unsigned int mode, daos_size_t cell_size, daos_size_t chunk_size, daos_handle_t *oh, daos_event_t *ev)
int daos_array_punch(daos_handle_t oh, daos_handle_t th, daos_array_iod_t *iod, daos_event_t *ev)
int daos_array_write(daos_handle_t oh, daos_handle_t th, daos_array_iod_t *iod, d_sg_list_t *sgl, daos_event_t *ev)
int daos_array_stat(daos_handle_t oh, daos_handle_t th, daos_array_stbuf_t *stbuf, daos_event_t *ev)
int daos_array_destroy(daos_handle_t oh, daos_handle_t th, daos_event_t *ev)
int daos_array_create(daos_handle_t coh, daos_obj_id_t oid, daos_handle_t th, daos_size_t cell_size, daos_size_t chunk_size, daos_handle_t *oh, daos_event_t *ev)
daos_size_t arr_nr_short_read
daos_epoch_t st_max_epoch