Motr  M0
confd_fom.c File Reference
#include "lib/trace.h"
#include "conf/confd_fom.h"
#include "conf/fop.h"
#include "conf/confd.h"
#include "conf/obj_ops.h"
#include "conf/preload.h"
#include "conf/onwire.h"
#include "rpc/rpc_opcodes.h"
#include "fop/fom_generic.h"
#include "fid/fid.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "lib/errno.h"
Include dependency graph for confd_fom.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CONF
 

Functions

static int conf_fetch_tick (struct m0_fom *fom)
 
static int conf_update_tick (struct m0_fom *fom)
 
static int confx_populate (struct m0_confx *dest, const struct m0_fid *origin, const struct m0_fid_arr *path, struct m0_conf_cache *cache)
 
static size_t confd_fom_locality (const struct m0_fom *fom)
 
static void confd_fom_fini (struct m0_fom *fom)
 
M0_INTERNAL int m0_confd_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int _count (size_t *n, struct m0_confx *enc M0_UNUSED, const struct m0_conf_obj *obj M0_UNUSED)
 
static int _encode (size_t *n, struct m0_confx *enc, const struct m0_conf_obj *obj)
 
static int readiness_check (const struct m0_conf_obj *obj)
 
static int confd_path_walk (struct m0_conf_obj *cur, const struct m0_fid_arr *path, int(*apply)(size_t *n, struct m0_confx *enc, const struct m0_conf_obj *obj), size_t *n, struct m0_confx *enc)
 
static struct m0_conf_objconfd_cache_lookup (const struct m0_conf_cache *cache, const struct m0_fid *fid)
 
static void cache_ver_update (struct m0_conf_cache *cache)
 

Variables

static const struct m0_fom_ops conf_fetch_fom_ops
 
static const struct m0_fom_ops conf_update_fom_ops
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CONF

Definition at line 22 of file confd_fom.c.