Implementation of aggregation group store FOM. Provides mechanism to handle blocking operations like persisting aggregation group information (i.e. last processed aggregation group). When copy machine operation starts, aggregation group store fom reads persistent store and initialises copy machine to start processing from previously incomplete aggregation group after operations like quiesce and abort. In case of additional failures copy machine is reset and store information is discarded.
◆ ag_store_update_fom_phase
Enumerator |
---|
AG_STORE_INIT | |
AG_STORE_FINI | |
AG_STORE_INIT_WAIT | |
AG_STORE_START | |
AG_STORE_UPDATE | |
AG_STORE_UPDATE_WAIT | |
AG_STORE_COMPLETE | |
AG_STORE_NR | |
Definition at line 56 of file ag_store.c.
◆ ag_store__update()
◆ ag_store_alloc()
◆ ag_store_complete()
◆ ag_store_fom_fini()
static void ag_store_fom_fini |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ ag_store_fom_locality()
static uint64_t ag_store_fom_locality |
( |
const struct m0_fom * |
fom | ) |
|
|
static |
◆ ag_store_fom_tick()
static int ag_store_fom_tick |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ ag_store_init()
◆ ag_store_init_load()
◆ ag_store_init_wait()
◆ ag_store_start()
◆ ag_store_update()
◆ ag_store_update_wait()
◆ fom2store()
◆ in_out_set()
Setting in and out AG id and epoch to in-memory store and its original cm.
Definition at line 188 of file ag_store.c.
◆ m0_cm_ag_store_complete()
M0_INTERNAL void m0_cm_ag_store_complete |
( |
struct m0_cm_ag_store * |
store | ) |
|
◆ m0_cm_ag_store_fini()
◆ m0_cm_ag_store_fom_start()
M0_INTERNAL void m0_cm_ag_store_fom_start |
( |
struct m0_cm * |
cm | ) |
|
◆ m0_cm_ag_store_init()
M0_INTERNAL void m0_cm_ag_store_init |
( |
struct m0_cm_type * |
cmtype | ) |
|
◆ m0_cm_ag_store_is_complete()
M0_INTERNAL bool m0_cm_ag_store_is_complete |
( |
struct m0_cm_ag_store * |
store | ) |
|
◆ store2cm()
◆ ag_store_action
Initial value:= {
}
static int ag_store_init(struct m0_cm_ag_store *store)
static int ag_store_init_wait(struct m0_cm_ag_store *store)
static int ag_store_start(struct m0_cm_ag_store *store)
static int ag_store_update(struct m0_cm_ag_store *store)
static int ag_store_complete(struct m0_cm_ag_store *store)
static int ag_store_update_wait(struct m0_cm_ag_store *store)
Definition at line 467 of file ag_store.c.
◆ ag_store_update_conf
Initial value:= {
.scf_name = "sm: store update conf",
}
static struct m0_sm_state_descr ag_store_update_sd[AG_STORE_NR]
Definition at line 111 of file ag_store.c.
◆ ag_store_update_fom_ops
Initial value:= {
}
static int ag_store_fom_tick(struct m0_fom *fom)
static void ag_store_fom_fini(struct m0_fom *fom)
static uint64_t ag_store_fom_locality(const struct m0_fom *fom)
Definition at line 506 of file ag_store.c.
◆ ag_store_update_fom_type_ops
◆ ag_store_update_sd