Motr
M0
|
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DIXCM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DIXCM |
Functions | |
M0_INTERNAL int | m0_dix_cm_module_init (void) |
M0_INTERNAL void | m0_dix_cm_module_fini (void) |
M0_INTERNAL int | m0_dix_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, struct m0_dix_cm_type *dcmt) |
M0_INTERNAL int | m0_dix_cm_svc_start (struct m0_reqh_service *service) |
M0_INTERNAL void | m0_dix_cm_svc_stop (struct m0_reqh_service *service) |
M0_INTERNAL void | m0_dix_cm_svc_fini (struct m0_reqh_service *service) |
M0_INTERNAL int | m0_dix_cm_trigger_fop_alloc (struct m0_rpc_machine *mach, uint32_t op, struct m0_fop **fop) |
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DIXCM |
Definition at line 29 of file trigger_fop_common.c.
M0_INTERNAL void m0_dix_cm_module_fini | ( | void | ) |
M0_INTERNAL int m0_dix_cm_module_init | ( | void | ) |
M0_INTERNAL int m0_dix_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, | ||
struct m0_dix_cm_type * | dcmt | ||
) |
Allocates DIX copy machine (service context is embedded into copy machine context), initialises embedded base copy machine, sets up embedded service context and return its pointer.
[out] | service | DIX CM service. |
[in] | stype | DIX CM service type. |
[in] | svc_ops | DIX CM service operation list. |
[in] | cm_ops | Copy machine operation list. |
[in] | dcmt | DIX copy machine type. |
0 on succes or negative error code.
Definition at line 50 of file service.c.
M0_INTERNAL void m0_dix_cm_svc_fini | ( | struct m0_reqh_service * | service | ) |
M0_INTERNAL int m0_dix_cm_svc_start | ( | struct m0_reqh_service * | service | ) |
M0_INTERNAL void m0_dix_cm_svc_stop | ( | struct m0_reqh_service * | service | ) |
M0_INTERNAL int m0_dix_cm_trigger_fop_alloc | ( | struct m0_rpc_machine * | mach, |
uint32_t | op, | ||
struct m0_fop ** | fop | ||
) |
Allocates trigger FOP for given operation .
[in] | mach | RPC machine to handle FOP RPC item. |
[in] | op | Repair/re-balance control operation. |
[out] | fop | Newly created FOP. |
0 on success or -ENOMEM.
Definition at line 53 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_abort_fopt |
Definition at line 41 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_abort_fopt |
Definition at line 41 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_abort_rep_fopt |
Definition at line 42 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_abort_rep_fopt |
Definition at line 42 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_quiesce_fopt |
Definition at line 37 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_quiesce_fopt |
Definition at line 37 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_quiesce_rep_fopt |
Definition at line 38 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_quiesce_rep_fopt |
Definition at line 38 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_status_fopt |
Definition at line 39 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_status_fopt |
Definition at line 39 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_status_rep_fopt |
Definition at line 40 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_status_rep_fopt |
Definition at line 40 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_trigger_fopt |
Definition at line 35 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_trigger_fopt |
Definition at line 35 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_trigger_rep_fopt |
Definition at line 36 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_rebalance_trigger_rep_fopt |
Definition at line 36 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_abort_fopt |
Definition at line 47 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_abort_fopt |
Definition at line 47 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_abort_rep_fopt |
Definition at line 51 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_abort_rep_fopt |
Definition at line 51 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_quiesce_fopt |
Definition at line 45 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_quiesce_fopt |
Definition at line 45 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_quiesce_rep_fopt |
Definition at line 49 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_quiesce_rep_fopt |
Definition at line 49 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_status_fopt |
Definition at line 46 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_status_fopt |
Definition at line 46 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_status_rep_fopt |
Definition at line 50 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_status_rep_fopt |
Definition at line 50 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_trigger_fopt |
Definition at line 44 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_trigger_fopt |
Definition at line 44 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_trigger_rep_fopt |
Definition at line 48 of file trigger_fop_common.c.
struct m0_fop_type m0_dix_repair_trigger_rep_fopt |
Definition at line 48 of file trigger_fop_common.c.