Motr  M0
service.c File Reference
#include "lib/memory.h"
#include "lib/assert.h"
#include "lib/errno.h"
#include "lib/trace.h"
#include "lib/misc.h"
#include "reqh/reqh_service.h"
#include "sns/cm/trigger_fop.h"
#include "sns/cm/cm.h"
#include "sns/cm/service.h"
#include "sns/cm/sns_cp_onwire.h"
Include dependency graph for service.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SNSCM
 

Functions

static int repair_svc_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
 
 M0_CM_TYPE_DECLARE (sns_repair, M0_CM_REPAIR_OPCODE, &repair_svc_type_ops, "M0_CST_SNS_REP", M0_CST_SNS_REP)
 
static int repair_svc_start (struct m0_reqh_service *service)
 
static void repair_svc_stop (struct m0_reqh_service *service)
 
M0_INTERNAL void m0_sns_cm_repair_cpx_init (void)
 
M0_INTERNAL void m0_sns_cm_repair_cpx_fini (void)
 

Variables

static const struct m0_reqh_service_type_ops repair_svc_type_ops
 
static const struct m0_reqh_service_ops repair_svc_ops
 
M0_EXTERN const struct m0_cm_ops sns_repair_ops
 
M0_EXTERN const struct m0_fom_type_ops repair_cp_fom_type_ops
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SNSCM

Definition at line 23 of file service.c.