DAOS API (v2.1 - dev)
|
#include <daos_obj_class.h>
Data Fields | ||
enum daos_obj_schema | ca_schema | |
enum daos_obj_resil | ca_resil | |
unsigned int | ca_resil_degree | |
unsigned int | ca_grp_nr | |
union { | ||
struct daos_rp_attr { | ||
unsigned int r_proto | ||
unsigned int r_num | ||
} rp | ||
struct daos_ec_attr { | ||
unsigned short e_k | ||
unsigned short e_p | ||
unsigned int e_len | ||
} ec | ||
} | u | |
Object class attributes
Definition at line 405 of file daos_obj_class.h.
unsigned int ca_grp_nr |
Initial # redundancy group, unnecessary for some schemas
Definition at line 413 of file daos_obj_class.h.
enum daos_obj_resil ca_resil |
Resilience method, replication or erasure code
Definition at line 409 of file daos_obj_class.h.
unsigned int ca_resil_degree |
reserved
Definition at line 411 of file daos_obj_class.h.
enum daos_obj_schema ca_schema |
reserved: object placement schema, used by placement algorithm
Definition at line 407 of file daos_obj_class.h.
unsigned short e_k |
number of data cells (k)
Definition at line 427 of file daos_obj_class.h.
unsigned int e_len |
length of each block of data (cell)
Definition at line 431 of file daos_obj_class.h.
unsigned short e_p |
number of parity cells (p)
Definition at line 429 of file daos_obj_class.h.
unsigned int r_num |
Number of replicas
Definition at line 421 of file daos_obj_class.h.
unsigned int r_proto |
Protocol of replicating, reserved
Definition at line 419 of file daos_obj_class.h.
union { ... } u |
replication or erasure coding attributes based on ca_resil