Motr  M0
cm.c File Reference
#include "dix/cm/cp.h"
#include "dix/cm/cm.h"
#include "lib/trace.h"
#include "cm/repreb/cm.h"
#include "layout/pdclust.h"
Include dependency graph for cm.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DIXCM
 

Functions

M0_INTERNAL int m0_dix_rebalance_sw_onwire_fop_setup (struct m0_cm *cm, struct m0_fop *fop, void(*fop_release)(struct m0_ref *), uint64_t proxy_id, const char *local_ep, const struct m0_cm_sw *sw, const struct m0_cm_sw *out_interval)
 
M0_INTERNAL int m0_dix_cm_ag_alloc (struct m0_cm *cm, const struct m0_cm_ag_id *id, bool has_incoming, struct m0_cm_aggr_group **out)
 
static int dix_rebalance_cm_prepare (struct m0_cm *cm)
 
static struct m0_cm_cpdix_rebalance_cm_cp_alloc (struct m0_cm *cm)
 
static void dix_rebalance_cm_stop (struct m0_cm *cm)
 

Variables

const struct m0_cm_ops dix_rebalance_ops