Motr  M0
cas.c File Reference
#include "lib/trace.h"
#include "lib/finject.h"
#include "fid/fid.h"
#include "fop/fop.h"
#include "rpc/rpc_opcodes.h"
#include "cas/cas.h"
#include "cas/cas_xc.h"
#include "mdservice/fsync_foms.h"
#include "mdservice/fsync_fops.h"
#include "mdservice/fsync_fops_xc.h"
#include "cas/client.h"
Include dependency graph for cas.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CAS
 

Functions

static int cas_fops_init (const struct m0_sm_conf *sm_conf, const struct m0_fom_type_ops *fom_ops, const struct m0_reqh_service_type *svctype)
 
static void cas_fops_fini (void)
 
M0_INTERNAL int m0_cas_module_init (void)
 
M0_INTERNAL void m0_cas_module_fini (void)
 
M0_INTERNAL void m0_cas_id_fini (struct m0_cas_id *cid)
 
M0_INTERNAL bool m0_cas_id_invariant (const struct m0_cas_id *cid)
 
M0_INTERNAL bool cas_in_ut (void)
 
M0_INTERNAL bool m0_crv_tbs (const struct m0_crv *crv)
 
M0_INTERNAL void m0_crv_tbs_set (struct m0_crv *crv, bool tbs)
 
M0_INTERNAL struct m0_dtm0_ts m0_crv_ts (const struct m0_crv *crv)
 
M0_INTERNAL void m0_crv_ts_set (struct m0_crv *crv, const struct m0_dtm0_ts *ts)
 
M0_INTERNAL void m0_crv_init (struct m0_crv *crv, const struct m0_dtm0_ts *ts, bool tbs)
 
M0_INTERNAL int m0_crv_cmp (const struct m0_crv *left, const struct m0_crv *right)
 
M0_INTERNAL bool m0_crv_is_none (const struct m0_crv *crv)
 

Variables

M0_INTERNAL struct m0_fop_type cas_get_fopt
 
M0_INTERNAL struct m0_fop_type cas_put_fopt
 
M0_INTERNAL struct m0_fop_type cas_del_fopt
 
M0_INTERNAL struct m0_fop_type cas_cur_fopt
 
M0_INTERNAL struct m0_fop_type cas_rep_fopt
 
M0_INTERNAL struct m0_fop_type cas_gc_fopt
 
struct m0_fop_type m0_fop_fsync_cas_fopt
 
M0_INTERNAL const struct m0_fid m0_cas_meta_fid = M0_FID_TINIT('i', 0, 0)
 
M0_INTERNAL const struct m0_fid m0_cas_ctidx_fid = M0_FID_TINIT('i', 0, 1)
 
M0_INTERNAL const struct m0_fid m0_cas_dead_index_fid = M0_FID_TINIT('i', 0, 2)
 
M0_INTERNAL const struct m0_fid_type m0_cas_index_fid_type
 
M0_INTERNAL const struct m0_fid_type m0_cctg_fid_type
 
M0_INTERNAL const struct m0_fid_type m0_dix_fid_type
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CAS

Definition at line 23 of file cas.c.