Motr
M0
|
#include <fom_interpose.h>
Data Fields | |
struct m0_fom_ops | fi_shim |
const struct m0_fom_ops * | fi_orig |
const struct m0_fom_interpose_ops * | fi_ops |
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.
const struct m0_fom_interpose_ops* fi_ops |
Definition at line 46 of file fom_interpose.h.
const struct m0_fom_ops* fi_orig |
Definition at line 45 of file fom_interpose.h.
struct m0_fom_ops fi_shim |
Definition at line 44 of file fom_interpose.h.