Motr  M0
md_service.c File Reference
#include "lib/trace.h"
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/locality.h"
#include "motr/magic.h"
#include "motr/setup.h"
#include "reqh/reqh_service.h"
#include "reqh/reqh.h"
#include "layout/layout.h"
#include "layout/linear_enum.h"
#include "layout/pdclust.h"
#include "conf/confc.h"
#include "conf/helpers.h"
#include "mdservice/md_fops.h"
#include "mdservice/md_service.h"
#include "mdservice/fsync_fops.h"
#include "module/instance.h"
Include dependency graph for md_service.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_MDS
 

Functions

static int mds_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
 
static void mds_fini (struct m0_reqh_service *service)
 
static int mds_start (struct m0_reqh_service *service)
 
static void mds_stop (struct m0_reqh_service *service)
 
M0_INTERNAL int m0_mds_register (void)
 
M0_INTERNAL void m0_mds_unregister (void)
 

Variables

static const struct m0_reqh_service_type_ops mds_type_ops
 
static const struct m0_reqh_service_ops mds_ops
 
struct m0_reqh_service_type m0_mds_type