25 #ifndef __MOTR_SNS_CM_REPAIR_AG_H__ 26 #define __MOTR_SNS_CM_REPAIR_AG_H__
M0_INTERNAL int m0_sns_cm_repair_ag_setup(struct m0_sns_cm_ag *sag, struct m0_pdclust_layout *pl)
struct m0_parity_math rag_math
uint32_t rag_acc_inuse_nr
static struct m0_sns_cm * scm
static struct m0_sns_cm_ag * sag
uint64_t fc_tgt_cob_index
struct m0_sns_cm_ag rag_base
struct m0_fid fc_tgt_cobfid
M0_INTERNAL int m0_sns_cm_repair_ag_alloc(struct m0_cm *cm, const struct m0_cm_ag_id *id, bool has_incoming, struct m0_cm_aggr_group **out)
struct m0_sns_cm_cp fc_tgt_acc_cp
M0_INTERNAL bool m0_sns_cm_ag_acc_is_full_with(const struct m0_cm_cp *acc, uint64_t nr_cps)
struct m0_sns_cm_repair_ag_failure_ctx * rag_fc
M0_INTERNAL int64_t m0_sns_cm_repair_ag_inbufs(struct m0_sns_cm *scm, struct m0_sns_cm_file_ctx *fctx, const struct m0_cm_ag_id *id)
static struct m0_sns_cm_file_ctx fctx
M0_INTERNAL struct m0_sns_cm_repair_ag * sag2repairag(const struct m0_sns_cm_ag *sag)