Motr  M0
m0_fom_interpose Struct Reference

#include <fom_interpose.h>

Collaboration diagram for m0_fom_interpose:
Collaboration graph

Data Fields

struct m0_fom_ops fi_shim
 
const struct m0_fom_opsfi_orig
 
const struct m0_fom_interpose_opsfi_ops
 

Detailed Description

A structure to modify the behaviour of a fom dynamically.

Fom interposition allows fom phase transition logic, implemented in m0_fom_ops::fo_tick() function, to be dynamically adjusted.

This can be used to implement monitoring, profiling or structural relationships between foms (e.g., leader-follower).

Multiple levels of interception can be applied to the same fom.

Definition at line 43 of file fom_interpose.h.

Field Documentation

◆ fi_ops

const struct m0_fom_interpose_ops* fi_ops

Definition at line 46 of file fom_interpose.h.

◆ fi_orig

const struct m0_fom_ops* fi_orig

Definition at line 45 of file fom_interpose.h.

◆ fi_shim

struct m0_fom_ops fi_shim

Definition at line 44 of file fom_interpose.h.


The documentation for this struct was generated from the following file: