Motr
M0
|
#include <cm.h>
Data Fields | |
int(* | sch_ag_in_cp_units )(const struct m0_sns_cm *scm, const struct m0_cm_ag_id *id, struct m0_sns_cm_file_ctx *fctx, uint32_t *in_cp_nr, uint32_t *in_units_nr, struct m0_cm_proxy_in_count *pcount) |
uint64_t(* | sch_ag_unit_start )(const struct m0_pdclust_layout *pl) |
uint64_t(* | sch_ag_unit_end )(const struct m0_pdclust_layout *pl) |
bool(* | sch_ag_is_relevant )(struct m0_sns_cm *scm, struct m0_sns_cm_file_ctx *fctx, uint64_t group) |
int(* | sch_ag_setup )(struct m0_sns_cm_ag *sag, struct m0_pdclust_layout *pl) |
int(* | sch_cob_locate )(struct m0_sns_cm *scm, struct m0_cob_domain *cdom, struct m0_poolmach *pm, const struct m0_fid *cob_fid) |
bool(* | sch_is_cob_failed )(struct m0_poolmach *pm, uint32_t cob_index) |
SNS copy machine helpers for different operations, viz. sns-repair, sns-rebalance, etc.
int(* sch_ag_in_cp_units) (const struct m0_sns_cm *scm, const struct m0_cm_ag_id *id, struct m0_sns_cm_file_ctx *fctx, uint32_t *in_cp_nr, uint32_t *in_units_nr, struct m0_cm_proxy_in_count *pcount) |
bool(* sch_ag_is_relevant) (struct m0_sns_cm *scm, struct m0_sns_cm_file_ctx *fctx, uint64_t group) |
int(* sch_ag_setup) (struct m0_sns_cm_ag *sag, struct m0_pdclust_layout *pl) |
uint64_t(* sch_ag_unit_end) (const struct m0_pdclust_layout *pl) |
uint64_t(* sch_ag_unit_start) (const struct m0_pdclust_layout *pl) |
int(* sch_cob_locate) (struct m0_sns_cm *scm, struct m0_cob_domain *cdom, struct m0_poolmach *pm, const struct m0_fid *cob_fid) |
bool(* sch_is_cob_failed) (struct m0_poolmach *pm, uint32_t cob_index) |