Motr
M0
|
#include "cm/cm.h"
#include "cm/repreb/trigger_fom.h"
#include "cm/repreb/trigger_fop.h"
#include "cm/repreb/cm.h"
#include "rpc/rpc.h"
#include "fop/fom.h"
#include "fop/fop.h"
#include "fop/fop_item_type.h"
#include "lib/trace.h"
#include "lib/finject.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CM |
Functions | |
static int | trigger_fom_tick (struct m0_fom *fom) |
static void | trigger_fom_fini (struct m0_fom *fom) |
static size_t | trigger_fom_home_locality (const struct m0_fom *fom) |
static int | prepare (struct m0_fom *fom) |
static int | ready (struct m0_fom *fom) |
static int | start (struct m0_fom *fom) |
M0_INTERNAL int | m0_trigger_fom_create (struct m0_trigger_fom *tfom, struct m0_fop *fop, struct m0_reqh *reqh) |
static struct m0_cm * | trig2cm (const struct m0_fom *fom) |
static struct m0_trigger_fom * | trig2tfom (const struct m0_fom *fom) |
static void | trigger_rep_set (struct m0_fom *fom) |
M0_INTERNAL void | m0_cm_trigger_fop_fini (struct m0_fop_type *ft) |
M0_INTERNAL void | m0_cm_trigger_fop_init (struct m0_fop_type *ft, enum M0_RPC_OPCODES op, const char *name, const struct m0_xcode_type *xt, uint64_t rpc_flags, struct m0_cm_type *cmt, const struct m0_fom_type_ops *ops) |
Variables | |
static const struct m0_fom_ops | trigger_fom_ops |
struct m0_sm_state_descr | m0_trigger_phases [] |
const struct m0_sm_conf | m0_trigger_conf |
static int(* | trig_action [])(struct m0_fom *) |