DAOS API (v2.1 - dev)
|
#include <daos_pool.h>
Data Fields | ||
uint32_t | rs_version | |
uint32_t | rs_seconds | |
int32_t | rs_errno | |
union { | ||
int32_t rs_state | ||
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 | |
Pool rebuild status
Definition at line 110 of file daos_pool.h.
union { ... } |
rebuild state, DRS_COMPLETED is valid only if rs_version is non-zero
int32_t rs_done |
Definition at line 122 of file daos_pool.h.
int32_t rs_errno |
errno for rebuild failure
Definition at line 116 of file daos_pool.h.
int32_t rs_fail_rank |
Failure on which rank
Definition at line 128 of file daos_pool.h.
uint64_t rs_obj_nr |
number of rebuilt objects. Non-zero only if rs_state is completed.
Definition at line 137 of file daos_pool.h.
int32_t rs_padding32 |
padding of rebuild status
Definition at line 125 of file daos_pool.h.
uint64_t rs_rec_nr |
number of rebuilt records. Non-zero only if rs_state is completed.
Definition at line 139 of file daos_pool.h.
uint32_t rs_seconds |
Time (Seconds) for the rebuild
Definition at line 114 of file daos_pool.h.
uint64_t rs_size |
rebuild space cost
Definition at line 142 of file daos_pool.h.
int32_t rs_state |
Definition at line 121 of file daos_pool.h.
uint64_t rs_toberb_obj_nr |
total number of objects to be rebuilt. Non-zero and increases when rebuilding is in progress. When rs_state is DRS_COMPLETED it will not change anymore and should be equal to rs_obj_nr. With both rs_toberb_obj_nr and rs_obj_nr the user can know the progress of rebuilding.
Definition at line 135 of file daos_pool.h.
uint32_t rs_version |
pool map version in rebuilding or last completed rebuild
Definition at line 112 of file daos_pool.h.