40 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM 88 scan->h_rem->re_ops->reo_persistent(
scan->h_rem, history);
176 .hit_name =
"remote fol",
189 #undef M0_TRACE_SUBSYSTEM
static const struct m0_uint128 * fol_id(const struct m0_dtm_history *history)
M0_INTERNAL void m0_dtm_controlh_fini(struct m0_dtm_controlh *ch)
M0_INTERNAL void m0_dtm_fol_remote_init(struct m0_dtm_fol_remote *frem, struct m0_dtm *dtm, struct m0_dtm_remote *remote)
M0_INTERNAL bool m0_uint128_eq(const struct m0_uint128 *u0, const struct m0_uint128 *u1)
struct m0_dtm_remote * h_rem
M0_INTERNAL void m0_dtm_controlh_init(struct m0_dtm_controlh *ch, struct m0_dtm *dtm)
static void fol_persistent(struct m0_dtm_history *history)
static struct m0_dtm_catalogue * rem_fol_cat(struct m0_dtm *dtm)
static int fol_remote_find(struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out)
struct m0_dtm_catalogue d_cat[M0_DTM_HISTORY_TYPE_NR]
struct m0_dtm_controlh fo_ch
struct m0_dtm_history ch_history
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_fol_htype
static void fol_fixed(struct m0_dtm_history *history)
static void fol_remote_persistent(struct m0_dtm_history *history)
return M0_ERR(-EOPNOTSUPP)
static const struct m0_dtm_history_type_ops fol_remote_htype_ops
M0_INTERNAL int m0_dtm_catalogue_add(struct m0_dtm_catalogue *cat, struct m0_dtm_history *history)
#define HISTORY_DTM(history)
M0_INTERNAL void m0_dtm_fol_init(struct m0_dtm_fol *fol, struct m0_dtm *dtm)
static const struct m0_dtm_history_ops fol_ops
struct m0_dtm_controlh rfo_ch
static const struct m0_dtm_history_ops fol_remote_ops
M0_INTERNAL void m0_dtm_fol_add(struct m0_dtm_fol *fol, struct m0_dtm_oper *oper)
M0_INTERNAL void m0_dtm_fol_remote_fini(struct m0_dtm_fol_remote *frem)
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_fol_remote_htype
int(* hito_find)(struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out)
const struct m0_dtm_history_type * hio_type
M0_INTERNAL int m0_dtm_controlh_update(struct m0_dtm_history *history, uint8_t id, struct m0_dtm_update *update)
static struct m0_rm_remote * remote
M0_INTERNAL void m0_dtm_fol_remote_add(struct m0_dtm_fol_remote *frem, struct m0_dtm_oper *oper)
static const struct m0_uint128 * fol_remote_id(const struct m0_dtm_history *history)
static const struct m0_dtm_history_type_ops fol_htype_ops
M0_INTERNAL void m0_dtm_controlh_add(struct m0_dtm_controlh *ch, struct m0_dtm_oper *oper)
static int scan(struct scanner *s)
#define m0_tl_for(name, head, obj)
static int fol_find(struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out)
M0_INTERNAL void m0_dtm_fol_fini(struct m0_dtm_fol *fol)
M0_INTERNAL int m0_dtm_catalogue_lookup(struct m0_dtm_catalogue *cat, const struct m0_uint128 *id, struct m0_dtm_history **out)
const struct m0_dtm_history_ops * h_ops
#define M0_IMPOSSIBLE(fmt,...)
M0_INTERNAL int m0_dtm_catalogue_del(struct m0_dtm_catalogue *cat, struct m0_dtm_history *history)