23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_SNSCM 127 static uint64_t progress = 0;
159 #undef M0_TRACE_SUBSYSTEM
static void print__ag(const struct m0_tl_descr *descr, const struct m0_tl *head)
M0_INTERNAL int m0_trigger_fom_create(struct m0_trigger_fom *tfom, struct m0_fop *fop, struct m0_reqh *reqh)
static struct m0_fop_type * sns_fop_type(uint32_t op)
M0_INTERNAL struct m0_sns_cm * cm2sns(struct m0_cm *cm)
#define M0_LOG(level,...)
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
struct m0_cm_ag_id cag_id
static struct m0_sns_cm * scm
void * m0_fop_data(const struct m0_fop *fop)
struct m0_fop_type m0_sns_repair_status_rep_fopt
#define container_of(ptr, type, member)
struct m0_fop_type m0_sns_repair_trigger_rep_fopt
struct m0_fop_type m0_sns_rebalance_abort_rep_fopt
struct m0_fop_type m0_sns_repair_quiesce_rep_fopt
static const struct m0_fom_trigger_ops sns_trigger_ops
static int head(struct m0_sm *mach)
return M0_ERR(-EOPNOTSUPP)
struct m0_fop_type m0_sns_rebalance_status_rep_fopt
#define M0_AMB(obj, ptr, field)
const struct m0_fom_type_ops m0_sns_trigger_fom_type_ops
static void sns_prepare(struct m0_fom *fom)
static uint64_t sns_progress(struct m0_fom *fom, bool reinit_counter)
uint64_t cag_transformed_cp_nr
struct m0_tl cm_aggr_grps_out
#define M0_ALLOC_PTR(ptr)
struct m0_reqh_service cm_service
static struct m0_fop * fop
#define IS_IN_ARRAY(idx, array)
struct m0_fop_type m0_sns_repair_abort_rep_fopt
const struct m0_fom_trigger_ops * tf_ops
#define m0_tlist_for(descr, head, obj)
struct m0_fop_type *(* fto_type)(uint32_t op)
struct m0_tl cm_aggr_grps_in
static void print_ag(struct m0_cm *cm)
struct m0_fop_type m0_sns_rebalance_quiesce_rep_fopt
static int sns_trigger_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
struct m0_fop_type m0_sns_rebalance_trigger_rep_fopt