Motr  M0
flip_fom.c File Reference
#include "lib/trace.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/string.h"
#include "lib/tlist.h"
#include "lib/assert.h"
#include "lib/finject.h"
#include "lib/fs.h"
#include "conf/confd.h"
#include "conf/confd_stob.h"
#include "conf/flip_fop.h"
#include "conf/flip_fom.h"
#include "conf/obj_ops.h"
#include "fop/fop.h"
#include "motr/magic.h"
#include "motr/setup.h"
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for flip_fom.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SPIEL
 

Functions

 M0_TL_DECLARE (m0_conf_cache, M0_INTERNAL, struct m0_conf_obj)
 
static int conf_flip_fom_tick (struct m0_fom *fom)
 
static void conf_flip_fom_fini (struct m0_fom *fom)
 
static int conf_flip_prepare (struct m0_fom *)
 
static int conf_flip_apply (struct m0_fom *)
 
static size_t conf_flip_fom_home_locality (const struct m0_fom *fom)
 
static bool conf_flip_fom_invariant (const struct m0_conf_flip_fom *fom)
 
M0_INTERNAL int m0_conf_flip_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int conf_flip_confd_config_save (char *filename, char *buffer)
 
static int conf_after_flip_apply (struct m0_reqh *reqh, const char *filename)
 

Variables

const struct m0_fom_ops conf_flip_fom_ops
 
const struct m0_fom_type_ops conf_flip_fom_type_ops
 
struct m0_sm_state_descr conf_flip_phases []
 
struct m0_sm_conf conf_flip_conf
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SPIEL

Definition at line 22 of file flip_fom.c.