27 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_MDS 76 .rst_typecode = M0_CST_MDS,
94 "Unable to initialize mdservice fsync fop");
110 m0_reqh_lockers_free(
m0_get()->i_mds_cdom_key);
113 m0_reqh_lockers_free(
m0_get()->i_actrec_dom_key);
114 m0_reqh_lockers_free(
m0_get()->i_dtm0_log_key);
206 #undef M0_TRACE_SUBSYSTEM 210 #undef M0_TRACE_SUBSYSTEM static const struct m0_reqh_service_ops mds_ops
int(* rso_start)(struct m0_reqh_service *service)
unsigned i_actrec_dom_key
M0_INTERNAL int m0_mdservice_fop_init(void)
static struct m0_rpc_client_ctx cctx
struct m0_reqh_service_type m0_mds_type
M0_INTERNAL struct m0 * m0_get(void)
#define container_of(ptr, type, member)
int m0_reqh_service_type_register(struct m0_reqh_service_type *rstype)
M0_INTERNAL void m0_mds_unregister(void)
#define M0_ERR_INFO(rc, fmt,...)
return M0_ERR(-EOPNOTSUPP)
M0_INTERNAL void m0_mdservice_fop_fini(void)
static const struct socktype stype[]
M0_INTERNAL int m0_mdservice_fsync_fop_init(struct m0_reqh_service_type *svct)
struct m0_reqh_context * rs_reqh_ctx
M0_INTERNAL int m0_mds_register(void)
static void mds_stop(struct m0_reqh_service *service)
int m0_reqh_service_async_start_simple(struct m0_reqh_service_start_async_ctx *asc)
int(* rsto_service_allocate)(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
static const struct m0_reqh_service_type_ops mds_type_ops
#define M0_ALLOC_PTR(ptr)
static void mds_fini(struct m0_reqh_service *service)
struct m0_reqh_service rmds_gen
void m0_reqh_service_type_unregister(struct m0_reqh_service_type *rstype)
static struct m0_reqh_service * service[REQH_IN_UT_MAX]
static int mds_allocate(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
M0_INTERNAL void m0_mdservice_fsync_fop_fini(void)
const struct m0_reqh_service_ops * rs_ops
static int mds_start(struct m0_reqh_service *service)