Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_SNSCM |
Definition at line 23 of file cm.c.
◆ rebalance_cm_cp_alloc()
static struct m0_cm_cp* rebalance_cm_cp_alloc |
( |
struct m0_cm * |
cm | ) |
|
|
static |
Definition at line 54 of file cm.c.
◆ rebalance_cm_get_space_for()
static int rebalance_cm_get_space_for |
( |
struct m0_cm * |
cm, |
|
|
const struct m0_cm_ag_id * |
id, |
|
|
size_t * |
count |
|
) |
| |
|
static |
Returns true iff the copy machine has enough space to receive all the copy packets from the given relevant group "id". Reserves buffers from incoming buffer pool struct m0_sns_cm::sc_ibp corresponding to all the incoming copy packets. e.g. sns repair copy machine checks if the incoming buffer pool has enough free buffers to receive all the remote units corresponding to a parity group.
Definition at line 160 of file cm.c.
◆ rebalance_cm_prepare()
static int rebalance_cm_prepare |
( |
struct m0_cm * |
cm | ) |
|
|
static |
Definition at line 65 of file cm.c.
◆ rebalance_cm_stop()
static void rebalance_cm_stop |
( |
struct m0_cm * |
cm | ) |
|
|
static |
Definition at line 82 of file cm.c.