DAOS API (v2.1 - dev)
Loading...
Searching...
No Matches
daos_oclass_attr Struct Reference

#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 
 

Detailed Description

Object class attributes

Definition at line 405 of file daos_obj_class.h.

Field Documentation

◆ ca_grp_nr

unsigned int ca_grp_nr

Initial # redundancy group, unnecessary for some schemas

Definition at line 413 of file daos_obj_class.h.

◆ ca_resil

enum daos_obj_resil ca_resil

Resilience method, replication or erasure code

Definition at line 409 of file daos_obj_class.h.

◆ ca_resil_degree

unsigned int ca_resil_degree

reserved

Definition at line 411 of file daos_obj_class.h.

◆ ca_schema

enum daos_obj_schema ca_schema

reserved: object placement schema, used by placement algorithm

Definition at line 407 of file daos_obj_class.h.

◆ e_k

unsigned short e_k

number of data cells (k)

Definition at line 427 of file daos_obj_class.h.

◆ e_len

unsigned int e_len

length of each block of data (cell)

Definition at line 431 of file daos_obj_class.h.

◆ e_p

unsigned short e_p

number of parity cells (p)

Definition at line 429 of file daos_obj_class.h.

◆ r_num

unsigned int r_num

Number of replicas

Definition at line 421 of file daos_obj_class.h.

◆ r_proto

unsigned int r_proto

Protocol of replicating, reserved

Definition at line 419 of file daos_obj_class.h.

◆ [union]

union { ... } u

replication or erasure coding attributes based on ca_resil


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