Motr
M0
|
![]() |
Variables | |
static const struct m0_reqh_service_type_ops | rebalance_svc_type_ops |
static const struct m0_reqh_service_ops | rebalance_svc_ops |
const struct m0_cm_ops | sns_rebalance_ops |
const struct m0_fom_type_ops | rebalance_cp_fom_type_ops |
static const struct m0_reqh_service_type_ops | repair_svc_type_ops |
static const struct m0_reqh_service_ops | repair_svc_ops |
M0_EXTERN const struct m0_cm_ops | sns_repair_ops |
M0_EXTERN const struct m0_fom_type_ops | repair_cp_fom_type_ops |
M0_CM_TYPE_DECLARE | ( | sns_repair | , |
M0_CM_REPAIR_OPCODE | , | ||
& | repair_svc_type_ops, | ||
"M0_CST_SNS_REP" | , | ||
M0_CST_SNS_REP | |||
) |
M0_CM_TYPE_DECLARE | ( | sns_rebalance | , |
M0_CM_REBALANCE_OPCODE | , | ||
& | rebalance_svc_type_ops, | ||
"M0_CST_SNS_REB" | , | ||
M0_CST_SNS_REB | |||
) |
M0_INTERNAL void m0_sns_cm_rebalance_cpx_fini | ( | void | ) |
Definition at line 73 of file rebalance_cp_onwire.c.
M0_INTERNAL void m0_sns_cm_rebalance_cpx_init | ( | void | ) |
Definition at line 57 of file rebalance_cp_onwire.c.
M0_INTERNAL void m0_sns_cm_repair_cpx_fini | ( | void | ) |
Definition at line 72 of file repair_cp_onwire.c.
M0_INTERNAL void m0_sns_cm_repair_cpx_init | ( | void | ) |
Definition at line 56 of file repair_cp_onwire.c.
M0_INTERNAL int m0_sns_cm_svc_allocate | ( | struct m0_reqh_service ** | service, |
const struct m0_reqh_service_type * | stype, | ||
const struct m0_reqh_service_ops * | svc_ops, | ||
const struct m0_cm_ops * | cm_ops | ||
) |
State of current running repair or rebalance process. It is used for indicating. It is used to show the status of the operation to the Spiel client.
Definition at line 43 of file service.c.
M0_INTERNAL void m0_sns_cm_svc_fini | ( | struct m0_reqh_service * | service | ) |
M0_INTERNAL int m0_sns_cm_svc_start | ( | struct m0_reqh_service * | service | ) |
Sets up copy machine corresponding to the given service. Invokes m0_cm_setup().
Definition at line 73 of file service.c.
M0_INTERNAL void m0_sns_cm_svc_stop | ( | struct m0_reqh_service * | service | ) |
Finalises copy machine corresponding to the given service. Invokes m0_cm_fini().
Definition at line 108 of file service.c.
|
static |
Copy machine service type operations.
Allocates and initialises SNS copy machine. This allocates struct m0_sns_cm and invokes m0_cm_init() to initialise m0_sns_cm::rc_base.
Definition at line 78 of file service.c.
|
static |
|
static |
|
static |
Copy machine service type operations.
Allocates and initialises SNS copy machine. This allocates struct m0_sns_cm and invokes m0_cm_init() to initialise m0_sns_cm::rc_base.
Definition at line 76 of file service.c.
|
static |
|
static |
const struct m0_fom_type_ops rebalance_cp_fom_type_ops |
Definition at line 38 of file rebalance_cp_onwire.c.
|
static |
|
static |
M0_EXTERN const struct m0_fom_type_ops repair_cp_fom_type_ops |
|
static |
|
static |
const struct m0_cm_ops sns_rebalance_ops |