DAOS API (v2.0)
Loading...
Searching...
No Matches
daos_rebuild_status Struct Reference

Data Fields

uint32_t rs_version
 
uint32_t rs_seconds
 
int32_t rs_errno
 
int32_t rs_done
 
int32_t rs_padding32
 
int32_t rs_fail_rank
 
uint64_t rs_toberb_obj_nr
 
uint64_t rs_obj_nr
 
uint64_t rs_rec_nr
 
uint64_t rs_size
 

Detailed Description

Definition at line 89 of file daos_pool.h.

Field Documentation

◆ rs_done

int32_t rs_done

rebuild is done or not, it is valid only if @rs_version is non-zero

Definition at line 99 of file daos_pool.h.

◆ rs_errno

int32_t rs_errno

errno for rebuild failure

Definition at line 95 of file daos_pool.h.

◆ rs_fail_rank

int32_t rs_fail_rank

Definition at line 105 of file daos_pool.h.

◆ rs_obj_nr

uint64_t rs_obj_nr

rebuilt objects, it's non-zero only if rs_done is 1

Definition at line 113 of file daos_pool.h.

◆ rs_padding32

int32_t rs_padding32

Definition at line 102 of file daos_pool.h.

◆ rs_rec_nr

uint64_t rs_rec_nr

rebuilt records, it's non-zero only if rs_done is 1

Definition at line 115 of file daos_pool.h.

◆ rs_seconds

uint32_t rs_seconds

Time (Seconds) for the rebuild

Definition at line 93 of file daos_pool.h.

◆ rs_size

uint64_t rs_size

rebuild space cost

Definition at line 118 of file daos_pool.h.

◆ rs_toberb_obj_nr

uint64_t rs_toberb_obj_nr

total to-be-rebuilt objects, it's non-zero and increase when

rebuilding in progress, when rs_done is 1 it will not change anymore and should equal to rs_obj_nr. With both rs_toberb_obj_nr and rs_obj_nr the user can know the progress of the rebuilding.

Definition at line 111 of file daos_pool.h.

◆ rs_version

uint32_t rs_version

pool map version in rebuilding or last completed rebuild

Definition at line 91 of file daos_pool.h.


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