Motr
M0
|
#include "lib/trace.h"
#include "lib/bob.h"
#include "lib/misc.h"
#include "lib/errno.h"
#include "reqh/reqh.h"
#include "sm/sm.h"
#include "rpc/rpc_opcodes.h"
#include "cm/sw.h"
#include "cm/cm.h"
#include "cm/proxy.h"
#include "be/op.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CM |
Enumerations | |
enum | ag_store_update_fom_phase { AG_STORE_INIT = M0_FOM_PHASE_INIT, AG_STORE_FINI = M0_FOM_PHASE_FINISH, AG_STORE_INIT_WAIT, AG_STORE_START, AG_STORE_UPDATE, AG_STORE_UPDATE_WAIT, AG_STORE_COMPLETE, AG_STORE_NR } |
Functions | |
static struct m0_cm * | store2cm (struct m0_cm_ag_store *store) |
static struct m0_cm_ag_store * | fom2store (struct m0_fom *fom) |
static int | ag_store_alloc (struct m0_cm_ag_store *store) |
static int | ag_store_init_load (struct m0_cm_ag_store *store, struct m0_cm_ag_store_data **data) |
static void | in_out_set (struct m0_cm *cm, struct m0_cm_ag_store *store, struct m0_cm_ag_store_data *s_data) |
static int | ag_store_init (struct m0_cm_ag_store *store) |
static int | ag_store_start (struct m0_cm_ag_store *store) |
static int | ag_store_init_wait (struct m0_cm_ag_store *store) |
static int | ag_store__update (struct m0_cm_ag_store *store) |
static int | ag_store_update (struct m0_cm_ag_store *store) |
static int | ag_store_update_wait (struct m0_cm_ag_store *store) |
static int | ag_store_complete (struct m0_cm_ag_store *store) |
static uint64_t | ag_store_fom_locality (const struct m0_fom *fom) |
static int | ag_store_fom_tick (struct m0_fom *fom) |
static void | ag_store_fom_fini (struct m0_fom *fom) |
M0_INTERNAL void | m0_cm_ag_store_init (struct m0_cm_type *cmtype) |
M0_INTERNAL void | m0_cm_ag_store_complete (struct m0_cm_ag_store *store) |
M0_INTERNAL void | m0_cm_ag_store_fini (struct m0_cm_ag_store *store) |
M0_INTERNAL bool | m0_cm_ag_store_is_complete (struct m0_cm_ag_store *store) |
M0_INTERNAL void | m0_cm_ag_store_fom_start (struct m0_cm *cm) |
Variables | |
static const struct m0_fom_type_ops | ag_store_update_fom_type_ops |
static struct m0_sm_state_descr | ag_store_update_sd [AG_STORE_NR] |
struct m0_sm_conf | ag_store_update_conf |
static int(* | ag_store_action [])(struct m0_cm_ag_store *store) |
static const struct m0_fom_ops | ag_store_update_fom_ops |
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CM |
Definition at line 23 of file ag_store.c.